Rodrigo Severo wrote:
> I was getting a "java.lang.ArithmeticException: Adding time zone offset 
> caused overflow" error when installing joda-time 1.6.0 on my Gentoo machine.
> 
> After several debugs I finally got to the conclusion that joda-time 
> isn't compatible with the "right" timezones, ie, compatible with 
> /usr/share/zoneinfo/America/Sao_Paulo but not with 
> /usr/share/zoneinfo/right/America/Sao_Paulo for example.
> 
> Is this a bug or is it intended?
> 
> I hope it's not intended as I'm a regular user of the right timezones ;)
> 
>  From tzcode Makefile:
> 
> The regular (non-right) timezones are "seconds since the epoch (not 
> counting leap seconds)".
> 
> The right timezones are "seconds since the epoch (counting leap seconds)".

The Joda-Time definition is milliseconds from 1970-01-01 ignoring leap 
seconds.

Stephen

------------------------------------------------------------------------------
_______________________________________________
Joda-interest mailing list
Joda-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/joda-interest

Reply via email to