ChineseLunisolarCalendar.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 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
Returns
An integer that represents the era in the time
parameter.
- Attributes
Exceptions
time
is less than MinSupportedDateTime or greater than MaxSupportedDateTime.
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.