The timezone database ("Olson") provides "local mean time" for dates
before the introduction of DST.

London used -00:01:15 before DST.

Stephen


On 9 May 2011 11:35, James Abley <[email protected]> wrote:
> Hi,
>
> I came across something interesting recently, which I was hoping can either
> be attributed to me doing something wrong, or a gap in my knowledge about
> datetime handling.
>
> We have a system that allows people to enter dates. One of our testers
> entered a very good date.
>
> 11/11/1111
>
> We parse that:
>
> DateTime dateOfBirth =
> DateTimeFormat.forPattern("MM/dd/YYYY").parseDateTime(dob)
> ===> 1111-11-11T00:00:00.000-00:01:15
>
> This is with an ISOChronology (Europe/London) when running on my machine.
>
> Question: Why the time zone of -00:01:15? I have suspicions (1600 anyone?),
> but would appreciate a more definitive answer.
>
> Cheers,
>
> James
>
>
> ------------------------------------------------------------------------------
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network
> management toolset available today.  Delivers lowest initial
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> _______________________________________________
> Joda-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/joda-interest
>
>

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Joda-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/joda-interest

Reply via email to