Date Class

The Date class contains methods used to format and manipulate date fields. The following methods are used in association with a type Date object:
 

type Date objectName = value

 

Ancestor

Primitive

Descendants

None

Methods

Description

day

Returns the day of this Date as a two-digit String.

dayOfMonth

Returns the day of this Date as a canonic Number.

dayOfYear

Returns the day within the year of this Date.

daysInMonth

Returns the number of days in the month of this Date.

daysToEOY

Returns the number of days to the end of the year of this Date.

isBusDate

Returns whether this Date is a business day (according to the supplied calendar).

isLeapYear

Returns whether the year of this Date is a leap year.

month

Returns the month of this Date as a two-digit String.

monthOfYear

Returns the month of this Date as a Number.

nextBusDate

Returns the Nth next business date according to the supplied calendar.

nextFreqDate

Returns the next frequency date.

prevBusDate

Returns the Nth previous business date according to the supplied calendar.

toString

Returns a formatted string representation of this Date.

year

Returns the year of this Date as four digits.