A collection of fixed date groups.

See

FixedValuesFilter.dateGroups

Hierarchy

Hierarchy

  • Base
    • FixedDateGroupCollection

Implements

Constructors

Properties

$type: Type
$t: Type
nextHashCode: number

Accessors

  • get count(): number
  • Gets the number of fixed date groups in the collection.

    Returns number

Methods

  • Adds a fixed date group to the collection.

    Throws

    ArgumentNullException 'item' is null.

    Throws

    ArgumentException 'item' is already in the collection.

    Parameters

    Returns void

  • Clears the collection.

    Throws

    InvalidOperationException The collection is owned by a FixedValuesFilter which only allowed the values in the collection. Clearing the collection would prevent the filter from including any values, which is not allowed for a FixedValuesFilter.

    Returns void

  • Determines whether the specified fixed date group is in the collection.

    Returns

    True if the item is in the collection; False otherwise.

    Parameters

    • item: FixedDateGroup

      The fixed date group to find in the collection.

    Returns boolean

  • Parameters

    • other: any

    Returns boolean

  • Returns number

  • Gets the index of the specified fixed date group in the collection.

    Returns

    The 0-based index of the specified fixed date group in the collection or -1 if the item is not in the collection.

    Parameters

    • item: FixedDateGroup

      The fixed date group to find in the collection.

    Returns number

  • Inserts a fixed date group into the collection.

    Throws

    ArgumentNullException 'item' is null.

    Throws

    ArgumentException 'item' is already in the collection.

    Throws

    ArgumentOutOfRangeException 'index' is less than 0 or greater than count.

    Parameters

    • index: number

      The 0-based index where the value should be inserted.

    • item: FixedDateGroup

      The fixed date group to insert into the collection.

    Returns void

  • Gets or sets the fixed date group at the specified index.

    Throws

    ArgumentOutOfRangeException 'index' is less than 0 or greater than or equal to count.

    Throws

    ArgumentNullException The value assigned is null.

    Throws

    ArgumentException The value assigned is already in the collection.

    Parameters

    Returns FixedDateGroup

  • Removes the fixed date group from the collection.

    Returns

    True if the value was found and removed; False otherwise.

    Parameters

    • item: FixedDateGroup

      The fixed date group to remove from the collection.

    Returns boolean

  • Removes the fixed date group at the specified index.

    Throws

    ArgumentOutOfRangeException 'index' is less than 0 or greater than or equal to count.

    Throws

    InvalidOperationException This operation removes the last item in the collection and it is owned by a FixedValuesFilter which only allowed the values in the collection. Clearing the collection would prevent the filter from including any values, which is not allowed for a FixedValuesFilter.

    Parameters

    • index: number

      The 0-based index of the value to remove.

    Returns void

  • 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

  • Returns void