• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: JasperReport LocalDate question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: JasperReport LocalDate question


  • Subject: Re: JasperReport LocalDate question
  • From: David Avendasora <email@hidden>
  • Date: Sun, 30 Jan 2011 11:10:26 -0500

Hi Ted,

What was the actual method signature of the LocalDate compareTo method? I'm guessing was "compareTo(Object obj)" or similar. By commenting it out you're no longer overriding it with a clashing class name. Now when compareTo is called, it's using the compareTo method on Date instead, which is likely what you want anyway.

Now, on the question of changing LocalDate from extending Joda LocalDate to java.util.Date, is an entirely different thing... can't help you there.

Dave


On Jan 30, 2011, at 8:31 AM, Theodore Petrosky wrote:

> Name clash: The method compareTo(Object) of type LocalDate has the same erasure as compareTo(T) of type Comparable<T> but does
> not override it

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: JasperReport LocalDate question (From: Theodore Petrosky <email@hidden>)

  • Prev by Date: Re: JasperReport LocalDate question
  • Next by Date: Re: JasperReport LocalDate question
  • Previous by thread: Re: JasperReport LocalDate question
  • Next by thread: Re: JasperReport LocalDate question
  • Index(es):
    • Date
    • Thread