MaheshVarma
MaheshVarma

Reputation: 2125

Where all TimeZone times are maintained?

If we set TimeZone for a specific Date, how does java set time for that Date, like for example if we set PST as the time zone, how can it know the exact time zone, where is it being maintained??

Thanks in advance

Upvotes: 2

Views: 342

Answers (1)

Jon Skeet
Jon Skeet

Reputation: 1500515

The time zone data source is implementation-specific, but I believe most implementations use the IANA database (aka zoneinfo, aka tz, aka Olson, aka TZDB).

Note that PST isn't really a time zone - it's "part" of a time zone. The time zone is "Pacific Time", usually specified with an ID of "America/Los_Angeles".

Upvotes: 5

Related Questions