Each zone consists of a number of rules representing the different
offsets and DSTs over time. However, there is a point going back in time
when a country hadn't yet chosen what offset or DST rules to have.
The Olson zone DB uses the longitude and latitude to invent an offset in
this scenario. Thus, this info tells you that South Africa hadn't yet
determined its offset by 1903.
Stephen
Benoit Xhenseval wrote:
> 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 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
-------------------------------------------------------------------------
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