[This is preliminary documentation and is subject to change.]
Represents an era used in a calendar.

C# | Visual Basic | Visual C++ |
public sealed class Era
Public NotInheritable Class Era
public ref class Era sealed

All Members | Methods | Properties | Fields | ||
Icon | Member | Description |
---|---|---|
![]() ![]() | 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()()()().) |

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.

This type is immutable reference type. See the thread safety section of the user guide for more information.

Object | |
![]() | Era |
Assembly: NodaTime (Module: NodaTime.dll) Version: 1.2.0.0 (1.2.0)