Enum prayers::HightLatMethods [−][src]
The method to use for higher latitudes
http://praytimes.org/calculation#Higher_Latitudes
Variants
Middle of the Night
In this method, the period from sunset to sunrise is divided into two halves. The first half is considered to be the “night” and the other half as “day break”. Fajr and Isha in this method are assumed to be at mid-night during the abnormal periods. http://praytimes.org/calculation#Higher_Latitudes
Angle-Based Method
This is an intermediate solution, used by some recent prayer time calculators. Let α be the twilight angle for Isha, and let t = α/60. The period between sunset and sunrise is divided into t parts. Isha begins after the first part. For example, if the twilight angle for Isha is 15, then Isha begins at the end of the first quarter (15/60) of the night. Time for Fajr is calculated similarly. http://praytimes.org/calculation#Higher_Latitudes
One-Seventh of the Night
In this method, the period between sunset and sunrise is divided into seven parts. Isha begins after the first one-seventh part, and Fajr is at the beginning of the seventh part. http://praytimes.org/calculation#Higher_Latitudes
Trait Implementations
impl Clone for HightLatMethods
[src]
fn clone(&self) -> HightLatMethods
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for HightLatMethods
[src]
impl Debug for HightLatMethods
[src]
impl PartialEq<HightLatMethods> for HightLatMethods
[src]
fn eq(&self, other: &HightLatMethods) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralPartialEq for HightLatMethods
[src]
Auto Trait Implementations
impl RefUnwindSafe for HightLatMethods
impl Send for HightLatMethods
impl Sync for HightLatMethods
impl Unpin for HightLatMethods
impl UnwindSafe for HightLatMethods
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,