Git Product home page Git Product logo

itl-java's People

Contributors

fikr4n avatar pyguy2 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

itl-java's Issues

Port the library to C#

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.

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.

DayLightSaving problem

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.

Problem of the new method in Assr time

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.