mikereedell / sunrisesunsetlib-java

Library for computing the sunrise/sunset from GPS coordinates and a date, in Java.
http://mikereedell.github.com/sunrisesunsetlib-java/
Apache License 2.0
299 stars 69 forks source link

Getting wrong values for sunrise, sunset after midnight , started getting this wrong value after midnignt of 2020-05-18**sunrise time for 2020-05-19 - 23:59** #40

Open snehashruti opened 3 years ago

snehashruti commented 3 years ago

Need urgent help to solve one my critical bug. Please help me with this.

sunrise time in UTC time is 2020-05-16 is: 00:01 sunset time in UTC time is 2020-05-16 is: 13:36
sunrise time in UTC time is 2020-05-17 is: 00:00 sunset time in UTC time is 2020-05-17 is: 13:37
sunrise time in UTC time is 2020-05-18 is: 00:00 sunset time in UTC time is 2020-05-18 is: 13:37
sunrise time in UTC time is 2020-05-19 is: 23:59 sunset time in UTC time is 2020-05-19 is: 13:38
sunrise time in UTC time is 2020-05-20 is: 23:59 sunset time in UTC time is 2020-05-20 is: 13:39 sunrise time in UTC time is 2020-05-21 is: 23:58 sunset time in UTC time is 2020-05-21 is: 13:39