[][src]Struct circadian_time::Circadian

pub struct Circadian<P: Positioned> { /* fields omitted */ }

The Circadian timezone. This timezone aligns to dawn instead of noon. At dawn the circadian time will be 00:00.

Methods

impl<P: Positioned> Circadian<P>[src]

pub fn now() -> DateTime<Self>[src]

Get the current circadian time.

Trait Implementations

impl<P: Clone + Positioned> Clone for Circadian<P>[src]

impl<P: Debug + Positioned> Debug for Circadian<P>[src]

impl<P: Positioned> Display for Circadian<P>[src]

impl<P: Positioned> TimeZone for Circadian<P>[src]

type Offset = Circadian<P>

An associated offset type. This type is used to store the actual offset in date and time types. The original TimeZone value can be recovered via TimeZone::from_offset. Read more

impl<P: Positioned> Offset for Circadian<P>[src]

Auto Trait Implementations

impl<P> Send for Circadian<P> where
    P: Send

impl<P> Sync for Circadian<P> where
    P: Sync

impl<P> Unpin for Circadian<P> where
    P: Unpin

impl<P> UnwindSafe for Circadian<P> where
    P: UnwindSafe

impl<P> RefUnwindSafe for Circadian<P> where
    P: RefUnwindSafe

Blanket Implementations

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> ToString for T where
    T: Display + ?Sized
[src]

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

type Error = !

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.

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

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

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