GetEra()

JapaneseCalendar::GetEra(DateTime) const method

Gets era for the specified time point.

int System::Globalization::JapaneseCalendar::GetEra(DateTime time) const override

Arguments

ParameterTypeDescription
timeDateTimeTime and date to extract data from.

Return Value

Era of the time point passed.

See Also