Enum parse_zoneinfo::line::ChangeTime
[−]
[src]
pub enum ChangeTime {
UntilYear(Year),
UntilMonth(Year, Month),
UntilDay(Year, Month, DaySpec),
UntilTime(Year, Month, DaySpec, TimeSpecAndType),
}Variants
UntilYear(Year)UntilMonth(Year, Month)UntilDay(Year, Month, DaySpec)UntilTime(Year, Month, DaySpec, TimeSpecAndType)Methods
impl ChangeTime[src]
fn to_timestamp(&self) -> i64
fn year(&self) -> i64
Trait Implementations
impl PartialEq for ChangeTime[src]
fn eq(&self, __arg_0: &ChangeTime) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &ChangeTime) -> bool
This method tests for !=.
impl Debug for ChangeTime[src]
impl Copy for ChangeTime[src]
impl Clone for ChangeTime[src]
fn clone(&self) -> ChangeTime
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more