Trait jomini::common::PdsDate [−][src]
pub trait PdsDate {
fn year(&self) -> i16;
fn month(&self) -> u8;
fn day(&self) -> u8;
fn game_fmt(&self) -> PdsDateFormatter;
fn iso_8601(&self) -> PdsDateFormatter;
}
Expand description
Common set of methods between all the date components
Required methods
fn game_fmt(&self) -> PdsDateFormatter
fn game_fmt(&self) -> PdsDateFormatter
Formats the date in the game format
fn iso_8601(&self) -> PdsDateFormatter
fn iso_8601(&self) -> PdsDateFormatter
Formats the date in an iso8601 format