std:: time_base
From cppreference.com
C++
Localization library
Character conversions | ||||
String and stream conversions | ||||
(
C++11/17/26*
)
|
||||
(
C++11/17/26*
)
|
Text encoding identifications | |||||
|
|||||
Unicode conversion facets | |||||
(
C++11/17/26*
)
|
|||||
(
C++11/17/26*
)
|
|||||
(
C++11/17/26*
)
|
|||||
(
C++11/17/26*
)
|
Defined in header
<locale>
|
||
class
time_base
;
|
||
The class std::time_base provides the date order constants which are inherited by the std::time_get facets.
Member types
Member type | Definition |
enum dateorder { no_order, dmy, mdy, ymd, ydm } ; | Unscoped enumeration type |
Enumeration constant | Definition |
no_order
|
Unspecified order |
dmy
|
Day, month, year (european) order |
mdy
|
Month, day, year (american) order |
ymd
|
Year, month, day (asian) order |
ydm
|
Year, day, month |
See also
[virtual]
|
obtains preferred ordering of day, month, and year
(virtual protected member function of
std::time_get<CharT,InputIt>
)
|
[virtual]
|
extracts month, day, and year from input stream
(virtual protected member function of
std::time_get<CharT,InputIt>
)
|
Retrieved from "
https://en.cppreference.com/mwiki/index.php?title=cpp/locale/time_base&oldid=160529
"