Noda Time
Era Class
NamespacesNodaTime.CalendarsEra

[This is preliminary documentation and is subject to change.]

Represents an era used in a calendar.
Declaration Syntax
C#Visual BasicVisual C++
public sealed class Era
Public NotInheritable Class Era
public ref class Era sealed
Members
All MembersMethodsPropertiesFields



IconMemberDescription
AnnoHegirae
The "Anno Hegira" era. This is the sole era used in the Hijri (Islamic) calendar.

AnnoMartyrm Obsolete.
The "Anno Martyrum" or "Era of the Martyrs". This is the sole era used in the Coptic calendar.

AnnoMartyrum
The "Anno Martyrum" or "Era of the Martyrs". This is the sole era used in the Coptic calendar.

BeforeCommon
The "before common" era (BCE), also known as Before Christ (BC). This is used in the ISO, Gregorian and Julian calendars.

Common
The "Common" era (CE), also known as Anno Domini (AD). This is used in the ISO, Gregorian and Julian calendars.

Name
Returns the name of this era, e.g. "CE" or "BCE".

ToString()()()()
Returns the name of this era.
(Overrides Object.ToString()()()().)
Remarks
All the built-in calendars in Noda Time use the values specified by the static read-only fields in this class. These may be compared for reference equality to check for specific eras.
Thread Safety
This type is immutable reference type. See the thread safety section of the user guide for more information.
Inheritance Hierarchy

Assembly: NodaTime (Module: NodaTime.dll) Version: 1.2.0.0 (1.2.0)