One more thing to consider is being in synchronization with the Java-based server, if it is used - i.e. using the same data as the server that hosts the GWT client code and serves the API for it. This is important when scheduling events whose times must/should be stored in their specific / local time zones - i.e. not converting them ahead of time because things may change (as they do). A disagreement between the server and the client would not be welcome in that case. There may be more examples. Learner Evermore
On Wednesday, June 5, 2019 at 11:01:59 AM UTC+2, Jens wrote:
Fwiw, the tzdata on Linux (and possibly any non-Windows OS) is generally updated independently from the JDK, and is shared between all JDK versions on the machine.
There's also ICU4J, which we already use for other i18n related code generation. Its API is similar to the JDK one, but it comes with its own tzdata bundle (afaict).
The upside of using the JDK is that it uses the "system" (though java-specific) tzdata (at least on Linux, at least with OpenJDK packaged by the distros), so it's almost guaranteed to be up-to-date. The downside is that is machine/environment-dependent. The upside of using ICU4J (or possibly JodaTime) is that it's not system/environment dependent. The downside is that it requires updating ICU4J, but that's probably a good idea anyway (but it'd be easier to do it within a separate project using "managed dependencies" –Maven, Gradle, etc.–; we probably wouldn't want to upload every new version of ICU4J to the "tools" repository; this could possibly be done in the new gwt-i18n project for example, with a special task to generate the files needed for GWT2). I think using the JDK will be "good enough" (given the status quo of having outdated data that we don't even know how to update), and we could still migrate to ICU4J later if we feel it's better. 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/31eeb824-4f40-4fe0-8135-e21f5988166b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. 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/a0l4mosrre7s9eb1ghhrl35q.1559821247388%40gmail.com. For more options, visit https://groups.google.com/d/optout. | ||
- Re: [gwt-contrib] Re: What tool generates TimeZone... Colin Alworth
- Re: [gwt-contrib] Re: What tool generates Tim... Thomas Broyer
- Re: [gwt-contrib] Re: What tool generates... Ahmad Bawaneh
- Re: [gwt-contrib] Re: What tool gener... Manuel Carrasco Moñino
- Re: [gwt-contrib] Re: What tool g... Colin Alworth
- Re: [gwt-contrib] Re: What t... Jens
- Re: [gwt-contrib] Re: What t... Jens
- Re: [gwt-contrib] Re: What t... Thomas Broyer
- Re: [gwt-contrib] Re: What t... Jens
- Re: [gwt-contrib] Re: What t... Thomas Broyer
- Re: [gwt-contrib] Re: What t... Learner Evermore
