Syncing up to Adhan v1.4.0
Changes include:
- Adding
Shafaq
enum - Adding
Rounding
enum; allows for customization on how the final prayer times are rounded using,Nearest
,Up
, orNone
variants - Adding Maghrib angle to the
Parameter
struct - Adding a proptery called
rounding
to theParameter
struct to use theRounding
enum - Adding a property called
shafaq
to theParameter
struct, using theShafaq
enum - Replaced
nearest_minute
method withrounded_minute
; This method takes a parameter of typeRounding
- Updating method signature of
season_adjusted_evening_twilight(latitude:day:year:sunset:shafaq:)
with the theShafaq
enum - Adding doc comments
- Using the
rounding
method for SingaporeMethod
- Adding
Turkey
to theMethod
enum - Adding
Tehran
to theMethod
enum; this method uses the newly addedmaghrib_angle
property of theParameter
struct. - Adding
recomended
method; based on the latitude of the provided location a variant of theHighLatitudeRule
is returned - Adding and updating tests
- Code formatting
- Updating copyright
- Documenting changes in the
readme.md
file