Uses of Class
com.peterphi.std.types.TimecodeRange
-
Uses of TimecodeRange in com.peterphi.std.types
Modifier and TypeMethodDescriptionTimecodeRange.add
(SampleCount samples) Move the range right by the specified number of samplesstatic TimecodeRange
TimecodeRange.merge
(TimecodeRange a, TimecodeRange b) Produce a new Timecode range which includes all timecodes froma
andb
.TimecodeRange.subtract
(SampleCount samples) Move the range left by the specified number of samplesConstructs a new TimecodeRange where the values are expressed as offsets fromreference
.Modifier and TypeMethodDescriptionstatic TimecodeRange
TimecodeRange.merge
(TimecodeRange a, TimecodeRange b) Produce a new Timecode range which includes all timecodes froma
andb
.boolean
TimecodeRange.overlaps
(TimecodeRange that) Determines whether two timecode ranges overlap (or are equivalent)boolean
TimecodeRange.within
(TimecodeRange test) Test whether a given timecode range lies wholly within (or on the boundaries of) this range