Uređivanje

Dijeli putem


ChineseLunisolarCalendar.GetEra(DateTime) Method

Definition

Retrieves the era that corresponds to the specified DateTime type.

public:
 override int GetEra(DateTime time);
public override int GetEra (DateTime time);
[System.Runtime.InteropServices.ComVisible(false)]
public override int GetEra (DateTime time);
override this.GetEra : DateTime -> int
[<System.Runtime.InteropServices.ComVisible(false)>]
override this.GetEra : DateTime -> int
Public Overrides Function GetEra (time As DateTime) As Integer

Parameters

time
DateTime

The DateTime type to read.

Returns

An integer that represents the era in the time parameter.

Attributes

Exceptions

Applies to