Expand description
§PrayTime - Prayer Times Calculator
A Rust implementation of the PrayTimes.org library for calculating Islamic prayer times.
This crate provides accurate prayer time calculations based on astronomical formulas and supports multiple calculation methods used around the world.
§Basic Usage
use praytime_rs::PrayTime;
let mut praytime = PrayTime::new("ISNA");
praytime.location(43.0, -80.0).timezone("America/Toronto");
let times = praytime.get_times(None);Structs§
- Pray
Time - Main PrayTime calculator
- Prayer
Times - Prayer times structure
- Tune
Adjustments - Time tuning adjustments for all supported prayer times
Enums§
- AsrMethod
- Asr calculation method
- Calculation
Method - Prayer time calculation methods
- High
Latitude Rule - High latitude adjustment method
- Midnight
Method - Midnight calculation method
- Rounding
Method - Rounding method for times
- Time
Format - Time format options