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
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.