AbstractReturns whether this time range contains the specified time (start and end inclusive).
時刻 [ms] / Time [ms]
Returns whether the specified range overlaps with this time range (start and end inclusive).
OptionalendTime: number指定された時刻をこの時刻付きオブジェクト中の位置 [0, 1] にマッピングして返す
Returns the position in this timed object [0, 1]
位置 / Position
時刻付きオブジェクトの抽象クラス / Abstract implementation of timed object
この抽象クラスを継承し、
startTimeおよびendTimeプロパティを持つクラスを実装することで、時区間駆動APIなどで活用できるようになります。TypeScriptでの簡単な実装例を以下に示します。By implementing a class that extends this abstract class and has
startTimeandendTimeproperties, it can be utilised by time-range-driven APIs. A simple example implementation in TypeScript is shown below.See
TimedObject