Skip to content

Calendar

Represents a calendar object with business rules, providing asynchronous operations.

Remarks

The Calendar object is used to perform date and time arithmetic, such as adding or subtracting days, months, years, or hours. It also provides methods for changing time zones and obtaining the current date and time.
Calendar rules can be changed by using the StandardCalendar or WeekendCalendar objects. The StandardCalendar object represents a 7/24 calendar, while the WeekendCalendar object represents a 5/24 calendar.
If you need a calendar with specific rules, you may create new calendar with Calendar.Parse method.