Enum prayers::HightLatMethods[][src]

pub enum HightLatMethods {
    NightMiddle,
    AngleBased,
    OneSeventh,
}

The method to use for higher latitudes

http://praytimes.org/calculation#Higher_Latitudes

Variants

NightMiddle

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

AngleBased

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

OneSeventh

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]

impl Copy for HightLatMethods[src]

impl Debug for HightLatMethods[src]

impl PartialEq<HightLatMethods> for HightLatMethods[src]

impl StructuralPartialEq for HightLatMethods[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.