Re: [Joda-interest] LenientChronology/TZID/DST strangeness

2007-05-07 Thread Brian S O'Neill
Yup, it's a bug. Nice find! The fix was to change a '<' operator to '<=', which is available now in the Subversion repository. http://svn.sourceforge.net/viewvc/joda-time/trunk/JodaTime/src/java/org/joda/time/field/LenientDateTimeField.java?r1=662&r2=1217 Blair Martin wrote: > > An unexpected ad

[Joda-interest] LenientChronology/TZID/DST strangeness

2007-05-07 Thread Blair Martin
An unexpected adjustment to the hour occurs when creating a DateTime with all of the following conditions: · date is beginning or end of DST (e.g. 3/11/2007 or 10/29/2006) · time is between 11pm and midnight · using LenientChronology · using a time zone created fr

Re: [Joda-interest] DateTimeZone question

2007-05-07 Thread Tom Duffey
On May 7, 2007, at 12:13 AM, Stephen Colebourne wrote: > Tom Duffey wrote: >> On May 2, 2007, at 2:29 PM, Stephen Colebourne wrote: >>> Do you believe it should? >> >> Maybe :) I'm mapping Joda DateTimeZone objects to and from a >> database in our application which uses the more familiar "US/ >>

Re: [Joda-interest] Persisting a Period : thoughts ?

2007-05-07 Thread Grégory Joseph
On 07/05/07, Stephen Colebourne <[EMAIL PROTECTED]> wrote: > Hi, > Yes, if you could commit those three classes that would be great. Even > better if they have test cases ;-) Done ! Couple of remarks: * i had to add a dependenc to antlr for the Interval test to pass * i put my test model beans in