Struct gregor::FixedOffsetFromUtc [] [src]

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]

Trait Implementations

impl Debug for FixedOffsetFromUtc
[src]

Formats the value using the given formatter.

impl Eq for FixedOffsetFromUtc
[src]

impl PartialEq for FixedOffsetFromUtc
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Copy for FixedOffsetFromUtc
[src]

impl Clone for FixedOffsetFromUtc
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for FixedOffsetFromUtc
[src]

Returns the "default value" for a type. Read more

impl UnambiguousTimeZone for FixedOffsetFromUtc
[src]

impl TimeZone for FixedOffsetFromUtc
[src]