class
<locale>

std::time_base

class time_base;
Base class for time_get
This is not a facet type, but the base class that defines the dateorder member type to be inherited by time_get facet classes.

It is defined as:
1
2
3
4
class time_base {
public:
  enum dateorder { no_order, dmy, mdy, ymd, ydm };
};


Member types

member typedescription
dateorderAn enum type used as return type for time_get::date_order.

Member constants

The enum type above creates the following member constants:
member constanttypevaluedescription
no_ordertime_base::dateorder0No specific order, or format contains variable components other than day, month and year.
dmytime_base::dateorder1day, month, year
mdytime_base::dateorder2month, day, year
ymdtime_base::dateorder3year, month, day
ydmtime_base::dateorder4year, day, month

See also