System::Globalization::JapaneseCalendar::GetEra method

JapaneseCalendar::GetEra method

Gets era for the specified time point.

int System::Globalization::JapaneseCalendar::GetEra(DateTime time) const override
ParameterTypeDescription
timeDateTimeTime and date to extract data from.

ReturnValue

Era of the time point passed.

See Also