pub type TranquilityMoment = CalendarMoment<Tranquility>;
Expand description
Represents a date and time in the Tranquility Calendar
Aliased Type§
pub struct TranquilityMoment { /* private fields */ }
Implementations§
Source§impl TranquilityMoment
impl TranquilityMoment
pub fn is_after_tranquility(self) -> bool
Trait Implementations§
Source§impl Display for TranquilityMoment
impl Display for TranquilityMoment
Source§impl PresetDisplay for TranquilityMoment
impl PresetDisplay for TranquilityMoment
Source§fn short_date(&self) -> String
fn short_date(&self) -> String
Format a date in a calendar-specific short format
Source§fn supported_display_lang(lang: Language) -> bool
fn supported_display_lang(lang: Language) -> bool
Checks if language is supported
Source§fn preset_str(&self, lang: Language, preset: PresetFormat<'_>) -> String
fn preset_str(&self, lang: Language, preset: PresetFormat<'_>) -> String
Format a date in any
PresetFormat