Represents a fixed range of dates.

See

[[FixedValuesFilter.dateGroups]]

Hierarchy

Hierarchy

  • Base
    • FixedDateGroup

Constructors

Properties

$type: Type
$t: Type
nextHashCode: number

Accessors

  • get end(): Date
  • Gets the exclusive end date of the accepted date range with a [[CalendarType]] of None.

    See

    • [[start]]
    • [[getRange]]

    Returns Date

  • get start(): Date
  • Gets the inclusive start date of the accepted date range with a [[CalendarType]] of None.

    See

    • [[end]]
    • [[getRange]]

    Returns Date

  • get type(): FixedDateGroupType
  • Gets the type, or precision, of the group.

    The group type indicates the precision of the [[value]], which defines the range of accepted dates in the group. For example, if the Type is Hour and the Value is 12/19/2011 1:29:13 PM, the date range allowed by the [[FixedDateGroup]] would be 12/19/2011 1:00:00 PM to 12/19/2011 1:59:59 PM.

    See

    [[value]]

    Returns FixedDateGroupType

  • get value(): Date
  • Gets the reference date which determines range of accepted dates.

    [[type]] indicates the precision of the Value, which defines the range of accepted dates in the group. For example, if the Type is Hour and the Value is 12/19/2011 1:29:13 PM, the date range allowed by the [[FixedDateGroup]] would be 12/19/2011 1:00:00 PM to 12/19/2011 1:59:59 PM.

    See

    [[type]]

    Returns Date

Methods

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

    Parameters

    • obj: any

      The object to test for equality.

    Returns boolean

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

    Returns number

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

    Throws

    [[InvalidEnumArgumentException]] 'calendarType' is not defined in the [[CalendarType]] enumeration.

    See

    • [[start]]
    • [[end]]

    Parameters

    • calendarType: CalendarType

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

    Returns DateRange

  • Returns Base

  • Parameters

    • item1: any
    • item2: any

    Returns number

  • Parameters

    • item1: any
    • item2: any

    Returns number

  • Parameters

    • item1: any
    • item2: any

    Returns boolean

  • Parameters

    • a: any
    • b: any

    Returns boolean

  • Parameters

    • obj: any

    Returns any[]

  • Parameters

    • obj: any

    Returns any[]

  • Parameters

    • obj: any

    Returns number

  • Parameters

    • a: any
    • b: any

    Returns boolean