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.
- Calendar.StandardCalendar
- Calendar.Today
- Calendar.WeekendCalendar
- Calendar.Add
- Calendar.AddAsync
- Calendar.AddDays
- Calendar.AddDaysAsync
- Calendar.AddMonths
- Calendar.AddMonthsAsync
- Calendar.AddTimeSpan
- Calendar.AddTimeSpanAsync
- Calendar.AddYears
- Calendar.AddYearsAsync
- Calendar.ChangeTimeZone
- Calendar.ChangeTimeZoneAsync
- Calendar.GetDateTime
- Calendar.GetDateTimeAsync
- Calendar.GetHoursInDay
- Calendar.GetStandardCalendar
- Calendar.GetTimeZone
- Calendar.GetTimeZoneAsync
- Calendar.GetToday
- Calendar.GetTodayAsync
- Calendar.GetWeekendCalendar
- Calendar.Parse
- Calendar.Subtract
- Calendar.SubtractAsync