Namespaces
Variants
Views
Actions

std::time_base

From cppreference.com
< cpp‎ | locale
Revision as of 19:56, 1 February 2013 by Cubbi (Talk | contribs)

Template:ddcl list begin <tr class="t-dsc-header">

<td>
Defined in header <locale>
</td>

<td></td> <td></td> <tr class="t-dcl ">

<td class="t-dcl-nopad">
class time_base;
</td>

<td class="t-dcl-nopad"> </td> <td class="t-dcl-nopad"> </td> </tr> Template:ddcl list end

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
ydm Year, day, month

See also

Template:cpp/locale/time get/dcl list do date orderTemplate:cpp/locale/time get/dcl list do get date