fikr4n / itl-java Goto Github PK
View Code? Open in Web Editor NEWA Java library for calculating prayer (salat) times, Hijri date, and qibla direction, based on ITL (Islamic Tools and Libraries)
License: Other
A Java library for calculating prayer (salat) times, Hijri date, and qibla direction, based on ITL (Islamic Tools and Libraries)
License: Other
Hi , I would like to port your library to C# so it becomes accessible to more platforms like Windows Phone , Windows 8.1 , Xamarin , ... etc
I would like to have a chat with you if possible before starting this port. Thanks a lot.
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.
Is there a way to findout the prayer end time?
Hello,
I'm using this library in my android app and it was totally awesome!. But some country I got problem with the DST
Country : Morocco
City : Marrakech
Lat/Lng : 31.63, -8.008889
TimeZone : Africa/Casablanca
boolean inDayLight = timeZone.inDaylightTime(new Date());
inDayLight returns TRUE
daylightOffset = timeZone.getDSTSavings() / (60_60_1000); // return 1
org.arabeyes.itl.prayer.astro.Location location = new org.arabeyes.itl.prayer.astro.Location(loc.getLatitude(), loc.getLongitude(), Integer.parseInt(gmtdst[0]), daylightOffset);
PrayerTimeCalc calculator = new PrayerTimeCalc(location, Method.MUSLIM_LEAGUE);
Expected output : Fajr 5.57
Actual output : Fajr 6.57
Try to subtract -1 for DST but output subtracted 2 hours.
daylightOffset = -1
Expected output : Fajr 5.57
Actual output : Fajr 4.57
Please help me.
This is the output of the example, which Assr is wrong:
=== PRAYER TIME (NEW METHOD) ===
Fajr 04:37
Sunrise 05:53
Zuhr 11:51
Assr 13:40
Maghrib 17:49
Ishaa 18:57
Qibla: -64°47′36.265703398418054″
This affects only the new method (org.arabeyes.itl.newmethod
package), the old method is fine.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.