## DateTimeFormatInfo::GetEra method


Получает эпоху по названию.

```cpp
int System::Globalization::DateTimeFormatInfo::GetEra(const String &era_name) const
```


| Параметр | Тип | Описание |
| --- | --- | --- |
| era_name | const String\& | Название эры. |

### ReturnValue

Индекс эпохи.

## См. также

* Class [String](../../../system/string/)
* Class [DateTimeFormatInfo](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.PDF for C++](../../../)
