Where all TimeZone times are maintained?

前端 未结 1 963
我在风中等你
我在风中等你 2021-01-23 03:17

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

1条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-23 03:49

    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".

    0 讨论(0)
提交回复
热议问题