Represents a fixed range of dates.

FixedDateGroup

new FixedDateGroup(type: FixedDateGroupType, value: Date): FixedDateGroup

Returns FixedDateGroup

$t: Type

Gets the exclusive end date of the accepted date range with a [[CalendarType]] of None.

get end(): Date

Returns Date

Gets the inclusive start date of the accepted date range with a [[CalendarType]] of None.

get start(): Date

Returns Date

Gets the type, or precision, of the group.

get type(): FixedDateGroupType

Returns FixedDateGroupType

Gets the reference date which determines range of accepted dates.

get value(): Date

Returns Date

Determines whether the [[FixedDateGroup]] is equal to the specified object.

equals(obj: any): boolean

Parameters

  • obj: any

    The object to test for equality.

Returns boolean

Gets the hash code for the [[FixedDateGroup]].

getHashCode(): number

Returns number

Gets the accepted date range based on the specified calendar type.

getRange(calendarType: CalendarType): DateRange

Parameters

  • calendarType: CalendarType

    The calendar type in which to get the accepted date range.

Returns DateRange