itl-java
itl-java copied to clipboard
When I set location of Amsterdam It is not calculating accurately.
I am using this library in android to calculate prayer timings. While calculating prayer time for different locations of Europe and America. Library is not returning exact values I changed the time zone of mobile but result is same also use hard coded value for the latitude and longitude but all in vein.
Looking for positive response. Thanks in advance.
Could you provide the inputs and the expected outputs?
Inputs
Prayer calculator = new Prayer()
.setMethod(StandardMethod.MUSLIM_LEAGUE)
.setLocation(52.3702, 4.8952, 0)
.setDate(new Date(),TimeZone.getTimeZone("Europe/Amsterdam"));
calculator.setMethod(Method.fromStandard(StandardMethod.MUSLIM_LEAGUE)
.setUseOffset(false));
Output
Fajr 01:00 Shurooq 05:30 Zuhr 13:45 Assr 18:06 Maghrib 21:58 Ishaa 07:00
Expected Output
Fajr 03:14 Sunrise 05:32 Dhuhr 13:46 Asr 18:07 Maghrib 22:00 Isha'a 00:08