Click or drag to resize

Calendar Class

Implements a business days calendar and date calculator.
Inheritance Hierarchy
SystemObject
  Austra.Library.DatesCalendar

Namespace: Austra.Library.Dates
Assembly: Austra.Library (in Austra.Library.dll) Version: 2.5.0+44e7797405725ef3cf24b3ff0eba94ce6c649601
Syntax
C#
public sealed class Calendar

The Calendar type exposes the following members.

Constructors
 NameDescription
Public methodCalendar(Date)Creates a neutral calendar.
Public methodCalendar(Calendar, Calendar)Creates a new calendar by merging two existing ones.
Public methodCalendar(String, Date, ICollectionDate)Initializes a business days calendar.
Top
Properties
 NameDescription
Public propertyItemRolls a date given a business day convention.
Public propertyNameGets the name of the calendar.
Public propertyTodayGets the base or current date of the calendar.
Public propertyTomorrowGets the good business day after today.
Public propertyTomorrowNextGets the good business day after tomorrow.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTimeGridCreates a time grid for future calculations.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIsHolidayIs the given date a good business day or not?
Public methodRollRolls a date up or down a number of working days.
Public methodRollFollowingRolls a date up to the next business day.
Public methodRollModifiedFollowingRolls a date up using the Modified Following convention.
Public methodRollModifiedPreviousRolls a date up using the Modified Previous convention.
Public methodRollPreviousRolls a date down to the previous business day.
Public methodToStringGets a text representation of the calendar.
(Overrides ObjectToString)
Top
Operators
 NameDescription
Public operatorStatic memberAddition(Calendar, Calendar)Combines two calendars.
Top
See Also