v7.3.0

EventDayIndex
internal

This utility class is used by event stores to index events by their day (a "YYYY-MM-DD" value, also known as a "date key"). This key is produced by a DayTime instance. If two DayTime instances have a common startShift, they can share an index.

No results

Properties

Properties are getters/setters or publicly accessible variables on this class
    • store : EventStore
      private
      READONLY

      The owning store instance of this index.

    • users : DayTime[]
      private

      The DayTime instances registered with this index instance. As instances are unregistered they are removed from this array. Once this array is empty, this index can be discarded.

    Functions

    Functions are methods available for calling on the class
      • clear( )

        Clear this index.

      • initialize( )
        private

        Called when this index is first used. Once called, further store changes will be used to maintain this index.

      Source path

      Scheduler/data/util/EventDayIndex.js

      Contents