Struct datetime::OffsetDateTime [] [src]

pub struct OffsetDateTime {
    pub local: LocalDateTime,
    pub offset: Offset,
}

Fields

Trait Implementations

impl ISO for OffsetDateTime
[src]

impl PartialEq for OffsetDateTime
[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 OffsetDateTime
[src]

impl Clone for OffsetDateTime
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl DatePiece for OffsetDateTime
[src]

The year, in absolute terms. This is in human-readable format, so the year 2014 actually has a year value of 2014, rather than 14 or 114 or anything like that. Read more

The month of the year.

The day of the month, from 1 to 31.

The day of the year, from 1 to 366.

The day of the week.

The number of years into the century. This is the same as the last two digits of the year. Read more

The year number, relative to the year 2000. Internally, many routines use years relative the year 2000, rather than the year 0 (well, 1 BCE). Read more

impl TimePiece for OffsetDateTime
[src]

The hour of the day.

The minute of the hour.

The second of the minute.

The millisecond of the second.

impl Debug for OffsetDateTime
[src]

Formats the value using the given formatter.

impl FromStr for OffsetDateTime
[src]

The associated error which can be returned from parsing.

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