System::Globalization::DateTimeFormatInfo::GetEra метод
DateTimeFormatInfo::GetEra method
Получает эпоху по названию.
int System::Globalization::DateTimeFormatInfo::GetEra(const String &era_name) const
| Параметр | Тип | Описание |
|---|---|---|
| era_name | const String& | Название эпохи. |
ReturnValue
Индекс эпохи.
См. также
- Class String
- Class DateTimeFormatInfo
- Namespace System::Globalization
- Library Aspose.Font for C++