• Post Reply Bookmark Topic Watch Topic
  • New Topic

isOverlap method problems  RSS feed

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi:
I trying to invoke an isOverlap method from within a Calendar class. The Timespan method tests for overlapping appointments.
The error message I get is:
java:114: Incompatible type for method. Can't convert Appointment to Timespan.
if (theDuplicates.isOverlap(nextApp))
What is the problem and how do I correct the problem and accomplish the my goal?
Thanks.


(edited by Cindy to format code using [ code] and [ /code] tags without the spaces)
[ January 21, 2003: Message edited by: Cindy Glass ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!