Advanced date, time and interval library for Java with sun/moon-astronomy and calendars like Chinese, Coptic, Ethiopian, French Republican, Hebrew, Hijri, Historic Christian, Indian National, Japanese, Julian, Korean, Minguo, Persian, Thai, Vietnamese
GNU Lesser General Public License v2.1
424
stars
62
forks
source link
ZonalOffset atLongitude does not work for Auckland #966
fun main() {
ZonalOffset.atLongitude(BigDecimal("174.74"))
}
Expected: Call works and returns response
Actual:
Exception in thread "main" java.lang.IllegalArgumentException: Total seconds out of range while fraction is non-zero: 41937
at net.time4j.tz.ZonalOffset.<init>(ZonalOffset.java:116)
at net.time4j.tz.ZonalOffset.atLongitude(ZonalOffset.java:226)
at *****.SolarTestKt.main(SolarTest.kt:33)
at *****.SolarTestKt.main(SolarTest.kt)
Version: 5.9
To reproduce
Expected: Call works and returns response
Actual: