[−][src]Module simple_locale::settings::time
Fetch locale-specific date and time formatting settings.
This module provides the details for both time and date formatting as well as a set of calendar names used for day and month display.
Date and Time Formatting
The date and time formatting strings use the field specifiers from
the C strftime
function. These
strings may also be used with the chrono crate's
format::strftime
module.
Structs
CalendarNames | The set of all calendar names. |
DateTimeFormat | The complete date and time formatting information. |
Name | This structure captures a name and its abbreviated form. |
Functions
get_calendar_names | Fetch calendar names for days and months. |
get_calendar_names_for_locale | Fetch the calendar names for a specified |
get_date_time_format | Fetch the date and time formatting settings for the current locale. |
get_date_time_format_for_locale | Fetch the date and time formatting rules for a specified |