[−][src]Trait cursive_calendar_view::Locale
Trait for localization of a CalendarView
.
Required methods
fn week_day(day: WeekDay, long_text: bool) -> &'static str
Method returning the localized string for a specific WeekDay
.
Both short e.g. Th
and long translations e.g. Thursday
are suppported.
fn month(month: Month, long_text: bool) -> &'static str
Method returning the localized string for a specific Month
.
Both short e.g. Dec
and long translations e.g. December
are suppported.