Hi *,
Using: joda-time 1.3
Could somebody explain this result for a timezone of "Pretoria"-South Africa (as setup on Windows via double-click on the clock and then TimeZone panel)
The following code:
DateTime dt = new DateTime("1903-02-28");
System.out.println(dt);
DateTime dt2 = new DateTime("1903-03-01");
System.out.println(dt2);
Displays:
1903-02-28T00:00:00.000+02:04:12
1903-03-01T00:00:00.000+02:00
Any date before 1st of March 1903 seems to have an offset of 02h04m12s ???
Is that correct? Some kind of funny historical business?
Thanks for confirming
Benoit
Using: joda-time 1.3
Could somebody explain this result for a timezone of "Pretoria"-South Africa (as setup on Windows via double-click on the clock and then TimeZone panel)
The following code:
DateTime dt = new DateTime("1903-02-28");
System.out.println(dt);
DateTime dt2 = new DateTime("1903-03-01");
System.out.println(dt2);
Displays:
1903-02-28T00:00:00.000+02:04:12
1903-03-01T00:00:00.000+02:00
Any date before 1st of March 1903 seems to have an offset of 02h04m12s ???
Is that correct? Some kind of funny historical business?
Thanks for confirming
Benoit
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Joda-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/joda-interest
