System::Globalization::GregorianCalendar::GetEra method
GregorianCalendar::GetEra method
Gets era for the specified time point.
int System::Globalization::GregorianCalendar::GetEra(DateTime time) const override
Parameter | Type | Description |
---|---|---|
time | DateTime | Time and date to extract data from. |
ReturnValue
Era of the time point passed.
See Also
- Class DateTime
- Class GregorianCalendar
- Namespace System::Globalization
- Library Aspose.PUB for C++