首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

std::time_base

Defined in header <locale>

?

?

class time_base;

?

?

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

成员类型

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

ydm

Year, day, month

另见

do_date_order virtual

obtains preferred ordering of day, month, and year (virtual protected member function of std::time_get)

do_get_date virtual

extracts month, day, and year from input stream (virtual protected member function of std::time_get)

代码语言:txt
复制
 ? cppreference.com

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

扫码关注腾讯云开发者

领取腾讯云代金券

http://www.vxiaotou.com