batoulapps / adhan-kotlin

High precision Islamic prayer time library for Java
MIT License
148 stars 46 forks source link

make prayer time more simpler #68

Open YoussefHachicha opened 3 months ago

YoussefHachicha commented 3 months ago

by providing the coordinates why that couldn't be enought to provide the correct prayer time, why do i find myslef needing to proivde fajr angle and all those params that i cant even understand and most importantly a simple user wont be able to understand?

ahmedre commented 3 months ago

you don't - most people should just use one of the pre-defined methods - see the CalculationMethod class. So for example, for Saudi, you'd use the UMM_AL_QURA calculation method, for Egypt you'd use the EGYPTIAN method, for the US you'd use NORTH_AMERICA method, and so on.