Struct uefi::table::runtime::Time [−][src]
#[repr(C)]pub struct Time { /* fields omitted */ }
Expand description
The current time information
Implementations
impl Time
[src]
impl Time
[src]pub fn new(
year: u16,
month: u8,
day: u8,
hour: u8,
minute: u8,
second: u8,
nanosecond: u32,
time_zone: i16,
daylight: Daylight
) -> Self
[src]
pub fn new(
year: u16,
month: u8,
day: u8,
hour: u8,
minute: u8,
second: u8,
nanosecond: u32,
time_zone: i16,
daylight: Daylight
) -> Self
[src]Build an UEFI time struct
pub fn nanosecond(&self) -> u32
[src]
pub fn nanosecond(&self) -> u32
[src]Query the nanosecond