[][src]Struct uhr::FixedOffsetFromUtc

pub struct FixedOffsetFromUtc { /* fields omitted */ }

The offset is typically positive east of Greenwich (longitude 0°), negative west.

For example, Japan Standard Time is UTC+09:00:

use gregor::FixedOffsetFromUtc;
let jst = FixedOffsetFromUtc::from_hours_and_minutes(9, 0);

Methods

impl FixedOffsetFromUtc[src]

pub fn from_hours_and_minutes(hours: i32, minutes: i32) -> FixedOffsetFromUtc[src]

Trait Implementations

impl TimeZone for FixedOffsetFromUtc[src]

impl UnambiguousTimeZone for FixedOffsetFromUtc[src]

impl PartialEq<FixedOffsetFromUtc> for FixedOffsetFromUtc[src]

impl Default for FixedOffsetFromUtc[src]

impl Eq for FixedOffsetFromUtc[src]

impl Debug for FixedOffsetFromUtc[src]

impl Copy for FixedOffsetFromUtc[src]

impl Clone for FixedOffsetFromUtc[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto 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, U> Into for T where
    U: From<T>, 
[src]

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

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

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

impl<Tz> TimeZone for Tz where
    Tz: DaylightSaving
[src]

impl<T> Same for T

type Output = T

Should always be Self