[To be supplied.]
Object
Calendar
[Visual Basic] MustInherit Public Class Calendar [C#] public abstract class Calendar [C++] public __gc __abstract class Calendar [JScript] public abstract class Calendar
A calendar reckons time in divisions such as weeks, months and years. The number, length, and start of the divisions vary in each calendar.
Any instant in time can be represented as an n-tuple of numeric values using a particular calendar. For example, the next vernal equinox occurs at [RB2] (0.0, 0[RB3], 46, 8, 20, 3, 1999) in the Gregorian calendar. An implementation of Calendar can map any DateTime value to such an n-tuple [RB4] and vice versa. The DateTimeFormat class can map between such n-tuples and a textual representation such as "8:46 AM March 20th 1999 AD".
Most [RB5] calendars identify a year that begins the current era. There may be any number of previous eras. The Calendar class identifies the eras as enumerated integers where the current era (CurrentEra) has the value 0.
For consistency, the first unit in each interval (for example, the first month) is assigned the value 1.
The System.Globalization package provides implementations of the GregorianCalendar and JulianCalendar calendars.
Namespace: System.Globalization
Assembly: mscorlib.dll