System.Globalization.JapaneseLunisolarCalendar.GetEra Method

Retrieves the era that corresponds to the specified DateTime.

Syntax

public override int GetEra (DateTime time)

Parameters

time
The DateTime to read.

Returns

An integer that represents the era specified in the time parameter.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Globalization
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0