Looks better than the normal API for sure. We can't use that for
Wicket unfortunately, but it could work for the current project.

Models won't work btw, as models do not distinguish between
conversions for the client and for the server side code. So a
converter makes more sense.

Eelco

On 12/13/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
it doesnt

http://joda-time.sourceforge.net/

DateTime now=new DateTime();
DateTime nowPST=now.withZone(DateTimeZone.forID("PST"));
DateTime nowEST=now.withZone(DateTimeZone.forID("EST"));

System.out.println(nowPST.hourOfDay());
System.out.println(nowEST.hourOfDay());

-igor


On 12/13/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
>
> I'll actually go Igor's path of having model wrappers for this. Darn,
> why does anything you want to do with dates in Java have to be so
> awkward all the time.
>
> Eelco
>


Reply via email to