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.Page for C++