std::time_get_byname
De cppreference.com
![]() |
Esta página se ha traducido por ordenador/computador/computadora de la versión en inglés de la Wiki usando Google Translate.
La traducción puede contener errores y palabras aparatosas/incorrectas. Planea sobre el texto para ver la versión original. Puedes ayudar a corregir los errores y mejorar la traducción. Para instrucciones haz clic aquí. |
Definido en el archivo de encabezado <locale>
|
||
template< class CharT, class InputIterator = std::istreambuf_iterator<CharT> > class time_get_byname : public std::time_get<CharT, InputIterator> { |
||
std::time_get_byname es una faceta std::time_get que encapsula las reglas de fecha y hora de análisis del entorno local especificado en su construcción .
Original:
std::time_get_byname is a std::time_get facet which encapsulates time and date parsing rules of the locale specified at its construction.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Dos especializaciones son proporcionados por la biblioteca estándar
Original:
Two specializations are provided by the standard library
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Definido en el archivo de encabezado
<locale> | |
std::time_get_byname<char, InputIterator> | estrecho / multibyte análisis del tiempo
Original: narrow/multibyte time parsing The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
std::time_get_byname<wchar_t>, InputIterator | cadena amplio análisis del tiempo
Original: wide string time parsing The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Contenido |
[editar] Tipos de miembros
Miembro de tipo
Original: Member type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Definition |
char_type
|
CharT
|
iter_type
|
OutputIterator
|
[editar] Las funciones miembro
construye una nueva faceta time_get_byname Original: constructs a new time_get_byname facet The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (función miembro pública) | |
destructs una faceta time_get_byname Original: destructs a time_get_byname facet The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (función miembro protegida) |
Heredado de std::time_get
Miembro de tipo
Original: Member type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Definition |
char_type
|
CharT
|
iter_type
|
InputIt
|
Member objects
Persona
Original: Member name The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Type |
id (estático)
|
std::locale::id |
Member functions
Invoca do_date_order Original: invokes do_date_order The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (función miembro pública de std::time_get )
| |
Invoca do_get_time Original: invokes do_get_time The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (función miembro pública de std::time_get )
| |
Invoca do_get_date Original: invokes do_get_date The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (función miembro pública de std::time_get )
| |
Invoca do_get_weekday Original: invokes do_get_weekday The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (función miembro pública de std::time_get )
| |
Invoca do_get_monthname Original: invokes do_get_monthname The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (función miembro pública de std::time_get )
| |
Invoca do_get_year Original: invokes do_get_year The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (función miembro pública de std::time_get )
| |
Invoca do_get Original: invokes do_get The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (función miembro pública de std::time_get )
|
Protected member functions
[virtual] |
obtiene preferido orden de día, mes y año Original: obtains preferred ordering of day, month, and year The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (función miembro virtual protegida de std::time_get )
|
[virtual] |
extractos de horas, minutos y segundos de flujo de entrada Original: extracts hours, minutes, and seconds from input stream The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (función miembro virtual protegida de std::time_get )
|
[virtual] |
extractos de mes, día y año de la corriente de entrada Original: extracts month, day, and year from input stream The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (función miembro virtual protegida de std::time_get )
|
[virtual] |
extracts the name of a day of the week from input stream (función miembro virtual protegida de std::time_get )
|
[virtual] |
extacts un nombre de mes de la corriente de entrada Original: extacts a month name from input stream The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (función miembro virtual protegida de std::time_get )
|
[virtual] |
extrae un año a partir de flujo de entrada Original: extracts a year from input stream The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (función miembro virtual protegida de std::time_get )
|
[virtual] |
extrae los componentes de fecha / hora de flujo de entrada, de acuerdo con el formato especificado Original: extracts date/time components from input stream, according to the specified format The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (función miembro virtual protegida de std::time_get )
|
Heredado de std::time_base
Tipo
Original: Type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Definition |
dateorder
|
orden de fecha de tipo de enumeración, definición de los valores
no_order , dmy , mdy , ymd y ydm Original: date order enumeration type, defining the values no_order , dmy , mdy , ymd , and ydm The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[editar] Ejemplo
Esta sección está incompleta Razón: sin ejemplo |
[editar] Ver también
Analiza valores de hora y fecha a partir de una secuencia de caracteres y los deposita en struct std::tm. (plantilla de clase) | |
(C++11) |
analiza un valor de fecha / hora de formato especificado Original: parses a date/time value of specified format The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (plantilla de función) |