textalive-app-api - v0.5.2
    Preparing search index...

    Interface TimedObject

    時刻付きオブジェクト

    Timed object

    interface TimedObject {
        endTime: number;
        startTime: number;
        contains(time: number): boolean;
        overlaps(obj: TimedObject): boolean;
        overlaps(startTime: number, endTime: number): boolean;
    }

    Hierarchy (View Summary)

    Implemented by

    Index
    endTime: number
    startTime: number
    • Returns whether this time range contains the specified time (start and end inclusive).

      Parameters

      • time: number

        時刻 [ms] / Time [ms]

      Returns boolean

    • Returns whether the specified range overlaps with this time range (start and end inclusive).

      Parameters

      • obj: TimedObject

        時刻付きオブジェクト / Timed object

      Returns boolean

    • Returns whether the specified range overlaps with this time range (start and end inclusive).

      Parameters

      • startTime: number

        開始時刻 [ms] / Start time [ms]

      • endTime: number

        終了時刻 [ms] / End time [ms]

      Returns boolean