Lines Matching refs:numeric_system
691 enum class numeric_system { enum
763 case 'Y': handler.on_year(numeric_system::standard, pad); break;
764 case 'y': handler.on_short_year(numeric_system::standard); break;
765 case 'C': handler.on_century(numeric_system::standard); break;
771 case 'w': handler.on_dec0_weekday(numeric_system::standard); break;
772 case 'u': handler.on_dec1_weekday(numeric_system::standard); break;
777 case 'm': handler.on_dec_month(numeric_system::standard, pad); break;
780 handler.on_dec0_week_of_year(numeric_system::standard, pad);
783 handler.on_dec1_week_of_year(numeric_system::standard, pad);
785 case 'V': handler.on_iso_week_of_year(numeric_system::standard, pad); break;
787 case 'd': handler.on_day_of_month(numeric_system::standard, pad); break;
789 handler.on_day_of_month(numeric_system::standard, pad_type::space);
792 case 'H': handler.on_24_hour(numeric_system::standard, pad); break;
793 case 'I': handler.on_12_hour(numeric_system::standard, pad); break;
794 case 'M': handler.on_minute(numeric_system::standard, pad); break;
795 case 'S': handler.on_second(numeric_system::standard, pad); break;
797 case 'c': handler.on_datetime(numeric_system::standard); break;
798 case 'x': handler.on_loc_date(numeric_system::standard); break;
799 case 'X': handler.on_loc_time(numeric_system::standard); break;
808 case 'z': handler.on_utc_offset(numeric_system::standard); break;
815 case 'Y': handler.on_year(numeric_system::alternative, pad); break;
817 case 'C': handler.on_century(numeric_system::alternative); break;
818 case 'c': handler.on_datetime(numeric_system::alternative); break;
819 case 'x': handler.on_loc_date(numeric_system::alternative); break;
820 case 'X': handler.on_loc_time(numeric_system::alternative); break;
821 case 'z': handler.on_utc_offset(numeric_system::alternative); break;
830 case 'y': handler.on_short_year(numeric_system::alternative); break;
831 case 'm': handler.on_dec_month(numeric_system::alternative, pad); break;
833 handler.on_dec0_week_of_year(numeric_system::alternative, pad);
836 handler.on_dec1_week_of_year(numeric_system::alternative, pad);
839 handler.on_iso_week_of_year(numeric_system::alternative, pad);
842 handler.on_day_of_month(numeric_system::alternative, pad);
845 handler.on_day_of_month(numeric_system::alternative, pad_type::space);
847 case 'w': handler.on_dec0_weekday(numeric_system::alternative); break;
848 case 'u': handler.on_dec1_weekday(numeric_system::alternative); break;
849 case 'H': handler.on_24_hour(numeric_system::alternative, pad); break;
850 case 'I': handler.on_12_hour(numeric_system::alternative, pad); break;
851 case 'M': handler.on_minute(numeric_system::alternative, pad); break;
852 case 'S': handler.on_second(numeric_system::alternative, pad); break;
853 case 'z': handler.on_utc_offset(numeric_system::alternative); break;
869 FMT_CONSTEXPR void on_year(numeric_system, pad_type) { unsupported(); } in on_year()
870 FMT_CONSTEXPR void on_short_year(numeric_system) { unsupported(); } in on_short_year()
872 FMT_CONSTEXPR void on_century(numeric_system) { unsupported(); } in on_century()
877 FMT_CONSTEXPR void on_dec0_weekday(numeric_system) { unsupported(); } in on_dec0_weekday()
878 FMT_CONSTEXPR void on_dec1_weekday(numeric_system) { unsupported(); } in on_dec1_weekday()
881 FMT_CONSTEXPR void on_dec_month(numeric_system, pad_type) { unsupported(); } in on_dec_month()
882 FMT_CONSTEXPR void on_dec0_week_of_year(numeric_system, pad_type) { in on_dec0_week_of_year()
885 FMT_CONSTEXPR void on_dec1_week_of_year(numeric_system, pad_type) { in on_dec1_week_of_year()
888 FMT_CONSTEXPR void on_iso_week_of_year(numeric_system, pad_type) { in on_iso_week_of_year()
892 FMT_CONSTEXPR void on_day_of_month(numeric_system, pad_type) { in on_day_of_month()
895 FMT_CONSTEXPR void on_24_hour(numeric_system) { unsupported(); } in on_24_hour()
896 FMT_CONSTEXPR void on_12_hour(numeric_system) { unsupported(); } in on_12_hour()
897 FMT_CONSTEXPR void on_minute(numeric_system) { unsupported(); } in on_minute()
898 FMT_CONSTEXPR void on_second(numeric_system) { unsupported(); } in on_second()
899 FMT_CONSTEXPR void on_datetime(numeric_system) { unsupported(); } in on_datetime()
900 FMT_CONSTEXPR void on_loc_date(numeric_system) { unsupported(); } in on_loc_date()
901 FMT_CONSTEXPR void on_loc_time(numeric_system) { unsupported(); } in on_loc_time()
910 FMT_CONSTEXPR void on_utc_offset(numeric_system) { unsupported(); } in on_utc_offset()
921 FMT_CONSTEXPR void on_year(numeric_system, pad_type) {} in on_year()
922 FMT_CONSTEXPR void on_short_year(numeric_system) {} in on_short_year()
924 FMT_CONSTEXPR void on_century(numeric_system) {} in on_century()
929 FMT_CONSTEXPR void on_dec0_weekday(numeric_system) {} in on_dec0_weekday()
930 FMT_CONSTEXPR void on_dec1_weekday(numeric_system) {} in on_dec1_weekday()
933 FMT_CONSTEXPR void on_dec_month(numeric_system, pad_type) {} in on_dec_month()
934 FMT_CONSTEXPR void on_dec0_week_of_year(numeric_system, pad_type) {} in on_dec0_week_of_year()
935 FMT_CONSTEXPR void on_dec1_week_of_year(numeric_system, pad_type) {} in on_dec1_week_of_year()
936 FMT_CONSTEXPR void on_iso_week_of_year(numeric_system, pad_type) {} in on_iso_week_of_year()
938 FMT_CONSTEXPR void on_day_of_month(numeric_system, pad_type) {} in on_day_of_month()
939 FMT_CONSTEXPR void on_24_hour(numeric_system, pad_type) {} in on_24_hour()
940 FMT_CONSTEXPR void on_12_hour(numeric_system, pad_type) {} in on_12_hour()
941 FMT_CONSTEXPR void on_minute(numeric_system, pad_type) {} in on_minute()
942 FMT_CONSTEXPR void on_second(numeric_system, pad_type) {} in on_second()
943 FMT_CONSTEXPR void on_datetime(numeric_system) {} in on_datetime()
944 FMT_CONSTEXPR void on_loc_date(numeric_system) {} in on_loc_date()
945 FMT_CONSTEXPR void on_loc_time(numeric_system) {} in on_loc_time()
952 FMT_CONSTEXPR void on_utc_offset(numeric_system) {} in on_utc_offset()
1249 void write_utc_offset(long long offset, numeric_system ns) {
1258 if (ns != numeric_system::standard) *out_++ = ':';
1263 void format_utc_offset_impl(const T& tm, numeric_system ns) {
1267 void format_utc_offset_impl(const T& tm, numeric_system ns) {
1279 if (ns == numeric_system::standard) return format_localized('z');
1334 void on_dec0_weekday(numeric_system ns) {
1335 if (is_classic_ || ns == numeric_system::standard) return write1(tm_wday());
1338 void on_dec1_weekday(numeric_system ns) {
1339 if (is_classic_ || ns == numeric_system::standard) {
1360 void on_datetime(numeric_system ns) {
1366 on_day_of_month(numeric_system::standard, pad_type::space);
1370 on_year(numeric_system::standard, pad_type::space);
1372 format_localized('c', ns == numeric_system::standard ? '\0' : 'E');
1375 void on_loc_date(numeric_system ns) {
1379 format_localized('x', ns == numeric_system::standard ? '\0' : 'E');
1381 void on_loc_time(numeric_system ns) {
1385 format_localized('X', ns == numeric_system::standard ? '\0' : 'E');
1411 void on_utc_offset(numeric_system ns) { format_utc_offset_impl(tm_, ns); }
1414 void on_year(numeric_system ns, pad_type pad) {
1415 if (is_classic_ || ns == numeric_system::standard)
1419 void on_short_year(numeric_system ns) {
1420 if (is_classic_ || ns == numeric_system::standard)
1429 void on_century(numeric_system ns) {
1430 if (is_classic_ || ns == numeric_system::standard) {
1447 void on_dec_month(numeric_system ns, pad_type pad) {
1448 if (is_classic_ || ns == numeric_system::standard)
1453 void on_dec0_week_of_year(numeric_system ns, pad_type pad) {
1454 if (is_classic_ || ns == numeric_system::standard)
1459 void on_dec1_week_of_year(numeric_system ns, pad_type pad) {
1460 if (is_classic_ || ns == numeric_system::standard) {
1470 void on_iso_week_of_year(numeric_system ns, pad_type pad) {
1471 if (is_classic_ || ns == numeric_system::standard)
1494 void on_day_of_month(numeric_system ns, pad_type pad) {
1495 if (is_classic_ || ns == numeric_system::standard)
1500 void on_24_hour(numeric_system ns, pad_type pad) {
1501 if (is_classic_ || ns == numeric_system::standard)
1505 void on_12_hour(numeric_system ns, pad_type pad) {
1506 if (is_classic_ || ns == numeric_system::standard)
1510 void on_minute(numeric_system ns, pad_type pad) {
1511 if (is_classic_ || ns == numeric_system::standard)
1516 void on_second(numeric_system ns, pad_type pad) {
1517 if (is_classic_ || ns == numeric_system::standard) {
1557 on_second(numeric_system::standard, pad_type::zero);
1582 FMT_CONSTEXPR void on_24_hour(numeric_system, pad_type) {}
1583 FMT_CONSTEXPR void on_12_hour(numeric_system, pad_type) {}
1584 FMT_CONSTEXPR void on_minute(numeric_system, pad_type) {}
1585 FMT_CONSTEXPR void on_second(numeric_system, pad_type) {}
1827 void on_dec0_weekday(numeric_system) {}
1828 void on_dec1_weekday(numeric_system) {}
1831 void on_datetime(numeric_system) {}
1832 void on_loc_date(numeric_system) {}
1833 void on_loc_time(numeric_system) {}
1836 void on_utc_offset(numeric_system) {}
1838 void on_year(numeric_system, pad_type) {}
1839 void on_short_year(numeric_system) {}
1841 void on_century(numeric_system) {}
1844 void on_dec_month(numeric_system, pad_type) {}
1845 void on_dec0_week_of_year(numeric_system, pad_type) {}
1846 void on_dec1_week_of_year(numeric_system, pad_type) {}
1847 void on_iso_week_of_year(numeric_system, pad_type) {}
1848 void on_day_of_month(numeric_system, pad_type) {}
1855 void on_24_hour(numeric_system ns, pad_type pad) {
1858 if (ns == numeric_system::standard) return write(hour(), 2, pad);
1864 void on_12_hour(numeric_system ns, pad_type pad) {
1867 if (ns == numeric_system::standard) return write(hour12(), 2, pad);
1873 void on_minute(numeric_system ns, pad_type pad) {
1876 if (ns == numeric_system::standard) return write(minute(), 2, pad);
1882 void on_second(numeric_system ns, pad_type pad) {
1885 if (ns == numeric_system::standard) {
1928 on_second(numeric_system::standard, pad_type::zero);
2065 w.on_day_of_month(detail::numeric_system::standard, detail::pad_type::zero);
2119 w.on_year(detail::numeric_system::standard, detail::pad_type::zero);