Java SystemV timezones and JodaTime

前端 未结 3 703
暖寄归人
暖寄归人 2021-01-13 01:14

I am working with timezones in a Java application using JodaTime. I encounter a problem when trying to build a DateTimeZone (JodaTime) object from the id of a java timezone.

3条回答
  •  甜味超标
    2021-01-13 01:43

    The SystemV time-zone IDs are old and deprecated. However, you can make Joda-Time understand them by re-compiling the joda-time jar file with the systemv time-zone data file included. See the commented out lines in the systemv data file. (ie. uncomment the lines and rebuild the jar file).

提交回复
热议问题