Struct uefi::Time [] [src]

#[repr(C)]
pub struct Time { pub year: u16, pub month: u8, pub day: u8, pub hour: u8, pub minute: u8, pub second: u8, pub nanosecond: u32, pub timezone: i16, // some fields omitted }

UEFI Time structure.

Fields

Year [1900 - 9999]

Month [1 - 12]

Day [1 - 31]

Hour [0 - 23]

Minute [0 - 59]

Second [0 - 59]

Nanosecond [0 - 999,999,999]

Timezone [-1440 - 1440] or 2047 for "unspecified timezone"

Trait Implementations

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 Debug for Time
[src]

Formats the value using the given formatter.

impl Default for Time
[src]

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

impl Display for Time
[src]

Formats the value using the given formatter. Read more