pub trait PdsDate {
// Required methods
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§
Sourcefn game_fmt(&self) -> PdsDateFormatter
fn game_fmt(&self) -> PdsDateFormatter
Formats the date in the game format
Sourcefn iso_8601(&self) -> PdsDateFormatter
fn iso_8601(&self) -> PdsDateFormatter
Formats the date in an iso8601 format