node-anemometer
    Preparing search index...

    Type Alias TimeCondition

    TimeCondition: { endTime?: Date; startTime?: Date } | { recentSeconds?: number }

    Specifies the time conditions to retrieve data records from the history.

    Type declaration

    • { endTime?: Date; startTime?: Date }
      • OptionalendTime?: Date

        The end time for filtering records. Records newer than this time will be excluded.

      • OptionalstartTime?: Date

        The start time for filtering records. Records older than this time will be excluded.

    • { recentSeconds?: number }
      • OptionalrecentSeconds?: number

        The number of seconds from the current time to filter records. Only records within this recent time span will be included.