[ Web Proxy ]
URL:
Viewing: https://ru.cppreference.com/cpp/chrono/sys_info/formatter [Back]  [Original]

std::formatter<std::chrono::sys_info> cppreference.com
cppreference.com

std::formatter<std::chrono::sys_info>

cppreference.com
 
C++
(C++20)
(C++20)
(C++11)
(C++20)
/
(C++11)
(C++11)
(C++11)
(C++17)
 
 
(C++11)
(C++20)
(C++11)
(C++11)      
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)(C++20)
(C++20)(C++20)
(C++20)

(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)(C++20)
(C++20)
(C++20)
(C++20)
/ chrono
(C++20)
C
 
 
<tbody> </tbody>
template< class CharT > struct formatter<std::chrono::sys_info, CharT>;
( C++20)

std::formatter, std::chrono::sys_info.

std::formatter , .

-- ()  ()  () L() chrono- ()

--, , . std::chrono::duration, Rep , std::format_error.

, , :

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.

%Ez %Oz : (, -04:30).

%Z .

, std::format_error:


%C
%EC
, 100, . , 0.

%EC .

%y
%Oy
%Ey
. , 0.

%Oy .

%Ey %EC ( ).

%Y
%EY
. , 0 .

%EY .

%b
%h
.
%B .
%m
%Om
( 01). , 0.

%Om .

%d
%Od
. , 0.

%Od .

%e
%Oe
. , .

%Oe .

%a .
%A .
%u
%Ou
ISO (1-7), 1.

%Ou .

%w
%Ow
(0-6), 0.

%Ow .

ISO 8601

ISO 8601 , :

  • 4
%g ISO 8601, . , 0.
%G ISO 8601 . , 0 .
%V
%OV
ISO 8601 . , 0.

%OV .

/
%j (1 001). , 0 .
%U
%OU
. 01. , , 00. , 0.

%OU .

%W
%OW
. 01. , , 00. , 0.

%OW .

%D "%m/%d/%y".
%F "%Y-%m-%d".
%x
%Ex
.

%Ex .

%H
%OH
( 24- ) . , 0.

%OH .

%I
%OI
(12- ) . , 0.

%OI .

%M
%OM
. , 0.

%OM .

%S
%OS
. 10, 0.

, , ( , 18 ). .

%OS .

%p AM/PM, 12- .
%R "%H:%M".
%T "%H:%M:%S".
%r 12- .
%X
%EX
.

%EX .

%Q , .. , count().
%q , operator<<().
%c
%Ec
.

%Ec .

(C++20)

( ) []

Web Proxy Viewer  |  New URL  |  Original Page