[OCP 17 book] | [OCP 11 book] | [OCA 8 book] [OCP 8 book] [Practice tests book] [Blog] [JavaRanch FAQ] [How To Ask Questions] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Stephan van Hulst wrote:It's not really an issue over here, because most countries here are only in one time zone, and we rarely need to deal with time zones of other countries.
Stephan van Hulst wrote:Is there a reason you need Europe/Berlin over CEST?
[OCP 17 book] | [OCP 11 book] | [OCA 8 book] [OCP 8 book] [Practice tests book] [Blog] [JavaRanch FAQ] [How To Ask Questions] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
[OCP 17 book] | [OCP 11 book] | [OCA 8 book] [OCP 8 book] [Practice tests book] [Blog] [JavaRanch FAQ] [How To Ask Questions] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
[OCP 17 book] | [OCP 11 book] | [OCA 8 book] [OCP 8 book] [Practice tests book] [Blog] [JavaRanch FAQ] [How To Ask Questions] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
What about Lisbon? At the risk of being moved to MD, why does Portugal which is far west of Britain use a time zone one hour ahead of us?Stephan van Hulst wrote: . . . Brussels, Copenhagen, Madrid and Paris together in a separate category.
Mike Simmons wrote:Yeah, the problem of identifying your correct time zone from among the various candidate ids - that hasn't really changed since Java's inception. It's really all from the tz database - I like using the list here. The [continent]/[city] IDs (like America/Los_Angeles) seem to offer the most comprehensive list of options, but can be hard to navigate for folks not very familiar with the region in question. the [country]/[specifier] IDs (like US/Pacific) are much more readable, at least for the US - but Europe doesn't seem to have an equivalent. Too bad.
Oracle Certified Professional: Java SE 6 Programmer && Oracle Certified Expert: (JEE 6 Web Component Developer && JEE 6 EJB Developer)
Dieter Quickfend wrote:
Mike Simmons wrote:Yeah, the problem of identifying your correct time zone from among the various candidate ids - that hasn't really changed since Java's inception. It's really all from the tz database - I like using the list here. The [continent]/[city] IDs (like America/Los_Angeles) seem to offer the most comprehensive list of options, but can be hard to navigate for folks not very familiar with the region in question. the [country]/[specifier] IDs (like US/Pacific) are much more readable, at least for the US - but Europe doesn't seem to have an equivalent. Too bad.
new GregorianCalendar(locale).getTimeZone()?
Mike Simmons wrote:Also, GregorianCalendar is evil, and if we're using Java 8, we wish to avoid it at any cost.
[OCP 17 book] | [OCP 11 book] | [OCA 8 book] [OCP 8 book] [Practice tests book] [Blog] [JavaRanch FAQ] [How To Ask Questions] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
They gave me pumpkin ice cream. It was not pumpkin pie ice cream. Wiping my tongue on this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
|