KoreanLunisolarCalendar.GetEra(DateTime) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the era that corresponds to the specified DateTime.
public:
override int GetEra(DateTime time);
public override int GetEra (DateTime time);
override this.GetEra : DateTime -> int
Public Overrides Function GetEra (time As DateTime) As Integer
Parameters
Returns
An integer that represents the era specified by the time
parameter. The return value for a KoreanLunisolarCalendar object is always the GregorianEra value.
Exceptions
time
represents a date and time less than MinSupportedDateTime or greater than MaxSupportedDateTime.
Applies to
Spolupráca s nami v službe GitHub
Zdroj tohto obsahu nájdete v službe GitHub, kde môžete vytvárať a skúmať problémy a žiadosti o prijatie zmien. Ďalšie informácie nájdete v našom sprievodcovi prispievateľom.