std::formatter<std::chrono::sys_info>
template< class CharT > struct formatter<std::chrono::sys_info, CharT>; |
( C++20) | |
std::formatter, std::chrono::sys_info.
-- () () () L() chrono- ()
|
|||||||||
--, , . std::chrono::duration, Rep , std::format_error.
, , :
-
"C",L, - , std::locale, , ,
- (
L, std::locale ), .
chrono- ( {, } %). chrono- . . %, , . , E O %. , .
chrono- , chrono , os std::basic_ostringstream<CharT> ( std::locale::classic(), std::locale, std::locale::global()) os.str() .
:
%%
|
%.
| |
|---|---|---|
%n
|
. | |
%t
|
. | |
%z%Ez%Oz
|
UTC ISO 8601. , -0430 UTC 4 30 . , +0000.
| |
%Z
|
. | |
, std::format_error:
%C %EC
|
, 100, . , 0.
| |
|---|---|---|
%y %Oy %Ey
|
. , 0.
| |
%Y %EY
|
. , 0 .
| |
%b%h
|
. | |
%B
|
. | |
%m%Om
|
( 01). , 0.
| |
%d%Od
|
. , 0.
| |
%e%Oe
|
. , .
| |
%a
|
. | |
%A
|
. | |
%u%Ou
|
ISO (1-7), 1.
| |
%w%Ow
|
(0-6), 0.
| |
| ISO 8601 | ||
|
ISO 8601 , :
| ||
%g
|
ISO 8601, . , 0. | |
%G
|
ISO 8601 . , 0 . | |
%V%OV
|
ISO 8601 . , 0.
| |
| / | ||
%j
|
(1 001). , 0 .
| |
%U%OU
|
. 01. , , 00. , 0.
| |
%W%OW
|
. 01. , , 00. , 0.
| |
%D
|
"%m/%d/%y".
| |
%F
|
"%Y-%m-%d".
| |
%x%Ex
|
.
| |
%H%OH
|
( 24- ) . , 0.
| |
%I%OI
|
(12- ) . , 0.
| |
%M%OM
|
. , 0.
| |
%S%OS
|
. 10, 0.
, , ( , 18 ). . | |
%p
|
AM/PM, 12- . | |
%R
|
"%H:%M".
| |
%T
|
"%H:%M:%S".
| |
%r
|
12- . | |
%X%EX
|
.
| |
%Q
|
, .. , count(). | |
%q
|
, operator<<(). | |
%c%Ec
|
.
| |
| : |
(C++20) |
( ) |