Struct lrs::time::Zone

A time zone.

Syntax

struct Zone {
    /* private fields */
}

Static methods

NameDescription
load

Loads a time zone from a well known name.

local

Loads the local time zone.

utc

Loads the UTC time zone.

Methods

ReceiverNameDescription
&selfcompact

Returns a normalized version of a DateTime and a time that expands to the normalized date.

&selfexpand

Expands a time since the epoch to a DateTime in the given time zone.

Trait implementations

NameDescription
Eq

Objects that implement the binary == and != operators.

MaybeClone

Objects that can be duplicated.