Struct iso8601::Time[][src]

pub struct Time {
    pub hour: u32,
    pub minute: u32,
    pub second: u32,
    pub millisecond: u32,
    pub tz_offset_hours: i32,
    pub tz_offset_minutes: i32,
}

A time object

Fields

a 24th of a day

60 discrete parts of an hour

a minute are 60 of these

everything after a .

depends on where you're at

Methods

impl Time
[src]

Trait Implementations

impl Display for Time
[src]

Formats the value using the given formatter. Read more

impl Eq for Time
[src]

impl PartialEq for Time
[src]

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

This method tests for !=.

impl Debug for Time
[src]

Formats the value using the given formatter. Read more

impl Copy for Time
[src]

impl Clone for Time
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for Time
[src]

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

impl FromStr for Time
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

Auto Trait Implementations

impl Send for Time

impl Sync for Time