在线文档教程
C++
本土化 | Localizations

std::time_base

STD:时间[医]底座

Defined in header
class time_base;

全班std::time_base对象继承的日期顺序常量。std::time_get面。

成员类型

Member typeDefinition
enum dateorder { no_order, dmy, mdy, ymd, ydm };Unscoped enumeration type

Enumeration constantDefinition
no_orderUnspecified order
dmyDay, month, year (european) order
mdyMonth, day, year (american) order
ymdYear, month, day
ydmYear, day, month

另见

do_date_order virtualobtains preferred ordering of day, month, and year (virtual protected member function of std::time_get)
do_get_date virtualextracts month, day, and year from input stream (virtual protected member function of std::time_get)

© cppreference.com

在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。

http://en.cppreference.com/w/cpp/locale/time[医]底座