Struct expedite::datetime::date::Date
[−]
[src]
pub struct Date { pub year: u32, pub month: u32, pub day: u32, }
Fields
year: u32
month: u32
day: u32
Methods
impl Date
[src]
fn new(year: u32, month: u32, day: u32) -> Date
fn advance_days(&self, n: u32) -> Date
fn advance_years(&self, n: u32) -> Date
fn advance_months(&self, n: i32) -> Date
fn to_jdn(&self) -> u32
Trait Implementations
impl Clone for Date
[src]
fn clone(&self) -> Date
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