Calendar Class |
public sealed class Calendar
The Calendar type exposes the following members.
| Name | Description | |
|---|---|---|
| Calendar(Date) | Creates a neutral calendar. | |
| Calendar(Calendar, Calendar) | Creates a new calendar by merging two existing ones. | |
| Calendar(String, Date, ICollectionDate) | Initializes a business days calendar. |
| Name | Description | |
|---|---|---|
| Item | Rolls a date given a business day convention. | |
| Name | Gets the name of the calendar. | |
| Today | Gets the base or current date of the calendar. | |
| Tomorrow | Gets the good business day after today. | |
| TomorrowNext | Gets the good business day after tomorrow. |
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetTimeGrid | Creates a time grid for future calculations. | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| IsHoliday | Is the given date a good business day or not? | |
| Roll | Rolls a date up or down a number of working days. | |
| RollFollowing | Rolls a date up to the next business day. | |
| RollModifiedFollowing | Rolls a date up using the Modified Following convention. | |
| RollModifiedPrevious | Rolls a date up using the Modified Previous convention. | |
| RollPrevious | Rolls a date down to the previous business day. | |
| ToString | Gets a text representation of the calendar. (Overrides ObjectToString) |
| Name | Description | |
|---|---|---|
| Addition(Calendar, Calendar) | Combines two calendars. |