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

hour: u32

a 24th of a day

minute: u32

60 discrete parts of an hour

second: u32

a minute are 60 of these

millisecond: u32

everything after a .

tz_offset_hours: i32

depends on where you're at

tz_offset_minutes: i32

Methods

impl Time
[src]

fn set_tz(&self, tzo: (i32, i32)) -> Time

Trait Implementations

impl Clone for Time
[src]

fn clone(&self) -> Time

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl Copy for Time
[src]

impl Debug for Time
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl PartialEq for Time
[src]

fn eq(&self, __arg_0: &Time) -> bool

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

fn ne(&self, __arg_0: &Time) -> bool

This method tests for !=.

impl Eq for Time
[src]