• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

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 ]
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!