• 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: Dates (1-day resolution) redux
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dates (1-day resolution) redux


  • Subject: Re: Dates (1-day resolution) redux
  • From: Paul Hoadley <email@hidden>
  • Date: Fri, 13 Aug 2010 07:22:19 +0930

Hi Henrique,

On 13/08/2010, at 3:38 AM, Henrique Prange wrote:

>> Thanks, I will look at that.  How much work is involved in using custom types like this?  (I've never done it before.)  For example, do I need to provide a corresponding custom comparator somewhere so that EOF can sort on this attribute?
>>
>
> It's not necessary in this case.
>
> I've written a sample project [1] to demonstrate how it could be implemented. Please, it's just a proof of concept, not the best way to do, ok?
>
> There is an entity in this project named Sample that contains a property birthDate of type LocalDate (a wrapper around the Joda Time LocalDate class). If you would try to run the application, you would see in the console the output of operations like fetching Sample objects by birthDate, ordered ascending and descending.
>
> Writing a framework to enable Joda Time classes and EOF interoperability is on my TODOs list. It's only a matter of time. :p
>
> [1]http://dl.dropbox.com/u/9599580/chronos-test.zip

Thanks!  I will check that out today.


--
Paul.

http://logicsquad.net/


 _______________________________________________
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: 
 >Dates (1-day resolution) redux (From: Paul Hoadley <email@hidden>)
 >Re: Dates (1-day resolution) redux (From: John Huss <email@hidden>)
 >Re: Dates (1-day resolution) redux (From: Paul Hoadley <email@hidden>)
 >Re: Dates (1-day resolution) redux (From: Henrique Prange <email@hidden>)
 >Re: Dates (1-day resolution) redux (From: Paul Hoadley <email@hidden>)
 >Re: Dates (1-day resolution) redux (From: Henrique Prange <email@hidden>)

  • Prev by Date: Re: To Many Relationship to String
  • Next by Date: Configuring CentOS 5.5 for WebObjects
  • Previous by thread: Re: Dates (1-day resolution) redux
  • Next by thread: Re: Dates (1-day resolution) redux
  • Index(es):
    • Date
    • Thread