Struct datetime::OffsetDateTime [] [src]

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

Fields

Trait Implementations

impl ISO for OffsetDateTime
[src]

[src]

[src]

impl PartialEq for OffsetDateTime
[src]

[src]

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

[src]

This method tests for !=.

impl Copy for OffsetDateTime
[src]

impl Clone for OffsetDateTime
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl DatePiece for OffsetDateTime
[src]

[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

[src]

The month of the year.

[src]

The day of the month, from 1 to 31.

[src]

The day of the year, from 1 to 366.

[src]

The day of the week.

[src]

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

[src]

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]

[src]

The hour of the day.

[src]

The minute of the hour.

[src]

The second of the minute.

[src]

The millisecond of the second.

impl Debug for OffsetDateTime
[src]

[src]

Formats the value using the given formatter.

impl FromStr for OffsetDateTime
[src]

The associated error which can be returned from parsing.

[src]

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