On Wednesday, June 5, 2019 at 4:53:33 PM UTC+2, Jens wrote:
>
>
> I looked at the file and the GWT code using it and the format seems pretty
>> clear to me.
>>
>
> Totally forgot to write the format down for documentation:
>
> europeBerlin = {
>
> // Time Zone Id
> "id": "Europe/Berlin",
>
> // List of <hours since epoch, DST offset in minutes> pairs. The DST
> offset is added on top of std_offset if DST is active. Thus it is 0 when
> switching to normal time.
> "transitions": [89953, 60, 94153, 0, ... ],
>
> // name of time as pair of <short name, full name>. If transitions is
> empty, size must be 2, otherwise 4. The first pair is normal time, the
> second pair is DST.
> "names": ["CET", "Central European Time", "CEST", "Central European
> Summer Time"],
>
> // The offset during normal time.
> "std_offset": 60
>
> }
>
>
>
> The current file shipped with GWT has no negative transition points, so it
> does not contain any data before 1970 which is kind of sad. Using IANA db
> we would have a lot more historic data. GWT also has future transition
> points which can usually be calculated using the DST rule defined in tzdata
> (java.time has an API for that and JodaTime probably as well). So a new
> tool would need to do that as well.
>
Is bundling data before 1970 really worth the additional bloat? If you ask
me, I wouldn't even go down to 1970.
--
You received this message because you are subscribed to the Google Groups "GWT
Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-web-toolkit-contributors/f42236b2-2ea9-43f8-b0d6-f0c78e7757d5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.