Spec-Zone.ru › C++

std::time_base

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 Description
enumdateorder{no_order,dmy,mdy,ymd,ydm}; Unscoped enumeration type
Enumeration constant Description
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

do_date_order
[virtual]
obtains preferred ordering of day, month, and year
(virtual protected member function of std::time_get<CharT,InputIt>)
do_get_date
[virtual]
extracts month, day, and year from input stream
(virtual protected member function of std::time_get<CharT,InputIt>)

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/cpp/locale/time_base

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API