ahmedeltaher / Prayer-Times-Android-Azan

Prayer + Time + Android + Kotlin + Azan + Library + timezone + islamic + salah + Library aiming to calculate prayer time with one line code , if you implement prayer time application , there is no need to do this headache again .
Apache License 2.0
364 stars 95 forks source link

Allow to set a custom AngleCalculationType #9

Closed sayah-y closed 5 years ago

sayah-y commented 6 years ago

Hello,

Thanks for your work !

I want to use your library for my project but I cannot. Because I want to set a custom AngleCalculationType and not pre-defined values "MWL(18, 17), ISNA(15, 15), EGYPT(19.5, 17.5), KARACHI(18, 18), MUHAMMADIYAH(20, 18)".

Can I do this ?

Thanks.

sayah-y commented 6 years ago

I just see the new version. The readme is not updated. Thanks for your work.

sayah-y commented 6 years ago

I use the version 2.2 and I don't see all AngleCalculationType. For example, I don't see UOIF (Union des organisations islamiques de France).

Thanks.

ahmedeltaher commented 5 years ago

what you posted it is not a bug. by the way, you can find UOIF(12, 12) in the enum. There is no feature for adding custom AngleCalculationType.