Re: how to handle dates alone
Re: how to handle dates alone
- Subject: Re: how to handle dates alone
- From: Paul Hoadley <email@hidden>
- Date: Sat, 29 Jan 2011 11:19:22 +1030
On 29/01/2011, at 5:30 AM, Theodore Petrosky wrote:
> I tried the Joda Time stuff but it seems that there were problems so it was pulled.
What was recently backed out of Wonder was Ramsey Gurley's attempt to integrate the Joda types at a lower level. There are no problems with using Joda types as custom types—see the sample project I linked to in my last post. Ramsey is going to re-implement his work as a standalone framework when he gets time. You can wait for that, or roll your own following Henrique's sample project.
> So I need to rephrase. How can I have a date column in my database and have an object in Webobjects that is date only and not care about times and timezones?
>
> Am I clearer?
Perfectly. You can do exactly that _today_ using Joda Time's LocalDate class.
--
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