Hello all ,
This is a not complete port of this project itl-java . I might add more features when I have time .
Notice : It is considered beta . Please test and tell us how accurate it is .
Example :
Documentation :
SMMPrayTimes
Author: SMM
Version: 0.02
fix : GMTdiffernce is now a double.
This is a not complete port of this project itl-java . I might add more features when I have time .
Notice : It is considered beta . Please test and tell us how accurate it is .
Example :
B4X:
Dim smm As SMMPrayTime
smm.Initialize
Dim l As List =smm.GetLocationTimes(51.4800, 0.0000,0,DateTime.Now,0 , smm.NORTH_AMERICA )
For index = 0 To l.Size-1
Log(l.Get(index))
Next
Documentation :
SMMPrayTimes
Author: SMM
Version: 0.02
- SMMPrayTime
Methods:- GetLocationTimes (lat As Double, lon As Double, GMTdiffernce As Double, date As Long, daysaving As Int, method As String) As List
Returns prayer and sunrise times as list (Fajr,Sunrise,Duhur,Asr,Maghrib,Isha) for specific location
Lat latitude in degrees
Lon longitude in degrees
GMTdiffernce hours difference from GMT
day saving time (1 to add one hour, 2 to add two, 0
method : Method used for times calculation like UMM_ALQURRA .. You can use library properties - Initialize
- IsInitialized As Boolean
- EGYPT_SURVEY As String [read only]
- FIXED_ISHAA As String [read only]
- KARACHI_HANAF As String [read only]
- KARACHI_SHAF As String [read only]
- MUSLIM_LEAGUE As String [read only]
- NONE As String [read only]
- NORTH_AMERICA As String [read only]
- UMM_ALQURRA As String [read only]
- GetLocationTimes (lat As Double, lon As Double, GMTdiffernce As Double, date As Long, daysaving As Int, method As String) As List
fix : GMTdiffernce is now a double.
Attachments
Last edited: