我需要在 Joda 时间支持SystemV时区。所以正如这个答案中提到的那样,我在评论 SystemV 数据文件中的行后尝试重新编译。但是在编译时它给出了这个异常:
[java] Exception in thread "main" org.joda.time.IllegalFieldValueException: Value 292278995 for year must be in the range [-292275054,292278993]
[java] at org.joda.time.field.FieldUtils.verifyValueBounds(FieldUtils.java:217)
[java] at org.joda.time.chrono.BasicYearDateTimeField.set(BasicYearDateTimeField.java:82)
[java] at org.joda.time.chrono.BasicYearDateTimeField.add(BasicYearDateTimeField.java:63)
[java] at org.joda.time.tz.DateTimeZoneBuilder$OfYear.next(DateTimeZoneBuilder.java:575)
[java] at org.joda.time.tz.DateTimeZoneBuilder$Recurrence.next(DateTimeZoneBuilder.java:761)
[java] at org.joda.time.tz.DateTimeZoneBuilder$Rule.next(DateTimeZoneBuilder.java:863)
[java] at org.joda.time.tz.DateTimeZoneBuilder$RuleSet.nextTransition(DateTimeZoneBuilder.java:1091)
[java] at org.joda.time.tz.DateTimeZoneBuilder$RuleSet.firstTransition(DateTimeZoneBuilder.java:1029)
[java] at org.joda.time.tz.DateTimeZoneBuilder.toDateTimeZone(DateTimeZoneBuilder.java:351)
[java] at org.joda.time.tz.ZoneInfoCompiler.compile(ZoneInfoCompiler.java:391)
[java] at org.joda.time.tz.ZoneInfoCompiler.main(ZoneInfoCompiler.java:136)
知道这是什么吗?