CurrentEra Field
Collapse the table of content
Expand the table of content

Calendar.CurrentEra Field

 

Represents the current era of the current calendar.

Namespace:   System.Globalization
Assembly:  mscorlib (in mscorlib.dll)

public const int CurrentEra

Field Value

Type: System.Int32

The CurrentEra field represents the index of the current era in the Eras array. Because eras are arranged in reverse chronological order (from the current era to earlier eras), this field is a constant that has a value of 0.

Universal Windows Platform
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top
Show:
© 2016 Microsoft