• 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: Thu, 12 Aug 2010 09:43:22 +0930

Hi Henrique,

On 12/08/2010, at 3:31 AM, Henrique Prange wrote:

> Have you tried Joda Time LocalDate [1]?
>
> "LocalDate is an immutable datetime class representing a date without a time zone."
>
> You could create a custom type to map the DATE external type to the LocalDate class, instead of using NSTimestamp or java.util.Date. It is similar to the Boolean solution.

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?


--
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

  • Follow-Ups:
    • Re: Dates (1-day resolution) redux
      • From: Henrique Prange <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>)

  • Prev by Date: Re: Dates (1-day resolution) redux
  • Next by Date: Re: Dates (1-day resolution) redux
  • Previous by thread: Re: Dates (1-day resolution) redux
  • Next by thread: Re: Dates (1-day resolution) redux
  • Index(es):
    • Date
    • Thread