سلام عليكم
مكتبة مواقيت الصلاة واتجاه القبلة مكتوبة بجافا
https://bitbucket.org/xmonader/jprayertimes/
مثال على الإستخدام
package testjprayertimes;
/**
*
* @author striky
*/
import net.pf.jprayertimes.*;
public class Main {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
Prayertimes pt=new Prayertimes(31.2599, 30.0599, 2, 2010, 8, 11);
pt.setSeason(Season.SUMMER);
pt.setMazhab(Mazhab.DEFAULT);
pt.setIslamicCalendar(IslamicCalendar.EgyptianGeneralAuthorityOfSurvey);
pt.calculate();
pt.report();
System.out.println("Qibla: "+pt.getQibla());
}
}الناتج
Fajr: 4:44:19 AM Shrouk: 6:19:36 AM Zuhr: 1:0:15 AM Asr: 4:37:2 PM Maghrib: 7:40:54 PM Isha: 9:5:24 PM Qibla: -43.716876176075466
لسه التوثيق و اكواد الإختبار
*اى method لوقت صلاة معينة فيها مقطع HR عبارة عن Human Readable
راجع الموضوع لمزيد من المعلومات /index.php?showtopic=195067
