time_get Class
The template class describes an object that can serve as a locale facet to control conversions of sequences of type CharType to time values.
template <
class CharType,
class InputIterator = istreambuf_iterator<CharType>
>
class time_get : public time_base
Parameters
CharType
The type used within a program to encode characters.InputIterator
The iterator from which the time values are read.
Remarks
As with any locale facet, the static object ID has an initial stored value of zero. The first attempt to access its stored value stores a unique positive value in id.
Constructors
The constructor for objects of type time_get. |
Typedefs
A type that is used to describe a character used by a locale. |
|
A type that describes an input iterator. |
Member Functions
Returns the date order used by a facet. |
|
A protected virtual member function that is called to return the date order used by a facet. |
|
Reads and converts character data to a time value. |
|
A protected virtual member function that is called to parse a string as the date produced by the x specifier for strftime. |
|
A protected virtual member function that is called to parse a string as the name of the month. |
|
A protected virtual member function that is called to parse a string as the date produced by the X specifier for strftime. |
|
A protected virtual member function that is called to parse a string as the name of the day of the week. |
|
A protected virtual member function that is called to parses a string as the name of the year. |
|
Reads from a source of character data and converts that data to a time that is stored in a time struct. |
|
Parses a string as the date produced by the x specifier for strftime. |
|
Parses a string as the name of the month. |
|
Parses a string as the date produced by the X specifier for strftime. |
|
Parses a string as the name of the day of the week. |
|
Parses a string as the name of the year. |
Requirements
Header: <locale>
Namespace: std
See Also
Reference
Thread Safety in the Standard C++ Library