Represents a fixed range of dates.
Constructors
Section titled "Constructors"FixedDateGroup
new FixedDateGroup(type: FixedDateGroupType, value: Date): FixedDateGroup Returns FixedDateGroup
Properties
Section titled "Properties"$t: Type Accessors
Section titled "Accessors"Gets the exclusive end date of the accepted date range with a [[CalendarType]] of None.
get end(): Date Returns Date
start
Section titled "start"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
value
Section titled "value"Gets the reference date which determines range of accepted dates.
get value(): Date Returns Date
Methods
Section titled "Methods"equals
Section titled "equals"Determines whether the [[FixedDateGroup]] is equal to the specified object.
equals(obj: any): boolean Parameters
- obj:
anyThe object to test for equality.
Returns boolean
getHashCode
Section titled "getHashCode"Gets the hash code for the [[FixedDateGroup]].
getHashCode(): number Returns number
getRange
Section titled "getRange"Gets the accepted date range based on the specified calendar type.
getRange(calendarType: CalendarType): DateRange Parameters
- calendarType:
CalendarTypeThe calendar type in which to get the accepted date range.