System.Globalization.Calendar

The Calendar abstract base class represents a calendar. A calendar is a system for measuring time based on the position of Earth in its orbit around the Sun or the Moon's position in relation to Earth. The Calendar class provides methods for date arithmetic, determining leap years, and other calendar-specific calculations. It is the foundation for culture-specific date and time operations.

Overview
Members
Methods
Properties
Examples

Inheritance

Object → Calendar

Namespace

System.Globalization

Assembly

System.Runtime.dll