Tags: insha/salah
Tags
Adding `value()` method to the Qiblah sturct The Qiblah struct now implements the Debug and Display traits that can be used for print out the value of the Qiblah. Updating the test to use the public interface and adding a new test to assert the display value of the Qiblah direction.
Updating version to `0.7.0` => Adhan v1.4.0 - Adding `Shafaq` enum - Adding `Rounding` enum; allows for customization on how the final prayer times are rounded using, `Nearest`, `Up`, or `None` variants - Adding Maghrib angle to the `Parameter` struct - Adding a proptery called `rounding` to the `Parameter` struct to use the `Rounding` enum - Adding a property called `shafaq` to the `Parameter` struct, using the `Shafaq` enum - Replaced `nearest_minute` method with `rounded_minute`; This method takes a parameter of type `Rounding` - Updating method signature of `season_adjusted_evening_twilight(latitude:day:year:sunset:shafaq:)` with the the `Shafaq` enum - Adding doc comments - Using the `rounding` method for Singapore `Method` - Adding `Turkey` to the `Method` enum - Adding `Tehran` to the `Method` enum; this method uses the newly added `maghrib_angle` property of the `Parameter` struct. - Adding `recomended` method; based on the latitude of the provided location a variant of the `HighLatitudeRule` is returned - Adding and updating tests - Code formatting - Updating copyright - Documenting changes in the `readme.md` file