• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

isOverlap method problems

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic