12 LocaleMeasurementUnitsMetric = 0,
13 LocaleMeasurementUnitsImperial = 1,
14} LocaleMeasurementUnits;
17 LocaleTimeFormat24h = 0,
18 LocaleTimeFormat12h = 1,
22 LocaleDateFormatDMY = 0,
23 LocaleDateFormatMDY = 1,
24 LocaleDateFormatYMD = 2,
31LocaleMeasurementUnits locale_get_measurement_unit(
void);
37void locale_set_measurement_unit(LocaleMeasurementUnits format);
45float locale_fahrenheit_to_celsius(
float temp_f);
53float locale_celsius_to_fahrenheit(
float temp_c);
59LocaleTimeFormat locale_get_time_format(
void);
65void locale_set_time_format(LocaleTimeFormat format);
74void locale_format_time(
77 const LocaleTimeFormat format,
78 const bool show_seconds);
84LocaleDateFormat locale_get_date_format(
void);
90void locale_set_date_format(LocaleDateFormat format);
99void locale_format_date(
102 const LocaleDateFormat format,
103 const char* separator);