System::Globalization::DateTimeFormatInfo::GetEra 方法
DateTimeFormatInfo::GetEra method
通过名称获取纪元。
int System::Globalization::DateTimeFormatInfo::GetEra(const String &era_name) const
| Parameter | Type | 描述 |
|---|---|---|
| era_name | const String& | 纪元名称。 |
ReturnValue
纪元索引。
另见
- Class String
- Class DateTimeFormatInfo
- Namespace System::Globalization
- Library Aspose.Page for C++