prayers

Crates.ioprayers
lib.rsprayers
version0.2.2
sourcesrc
created_at2021-04-11 23:49:18.840999
updated_at2021-04-13 17:12:52.892905
descriptionLightweight and highly accurate low-level library for calculating (Islamic) prayer times
homepagehttps://github.com/mesteery/praye.rs#homepage
repositoryhttps://github.com/mesteery/praye.rs
max_upload_size
id382187
size17,421
Mestery (Mesteery)

documentation

https://docs.rs/prayers

README

Praye.rs

Lightweight and highly accurate low-level library for calculating (Islamic) prayer times.

Usage

use prayers::{CalculationMethods, Coordinates, HightLatMethods, PrayerManager, TimeZone, Utc};

let prayer_manager = PrayerManager::new(CalculationMethods::MWL, Some(HightLatMethods::NightMiddle));

let a_date = Utc.ymd(2021, 4, 12);
let a_house = Coordinates(38.8976763, -77.036529, 18.0);
let prayers = prayer_manager.get_times(a_date, a_house);
Commit count: 7

cargo fmt