Uses of Class
com.peterphi.std.types.TimecodeBuilder
-
Uses of TimecodeBuilder in com.peterphi.std.types
Modifier and TypeMethodDescriptionTimecode.builder()
Return a TimecodeBuilder for this Timecode instancestatic TimecodeBuilder
TimecodeBuilder.fromEncodedValue
(String encoded) Parse a Timecode encoded in the "vidispine style" (hh:mm:ss:ff@timebase
).static TimecodeBuilder
TimecodeBuilder.fromFrames
(long signedFrameNumber, Timebase rate) static TimecodeBuilder
TimecodeBuilder.fromFrames
(long signedFrameNumber, Timebase rate, boolean dropFrame) static TimecodeBuilder
TimecodeBuilder.fromSamples
(SampleCount samples, boolean dropFrame) static TimecodeBuilder
Part a Timecode encoded in the SMPTE style ([dd:]hh:mm:ss:ff
- or[dd:]hh:mm:ss;ff
for drop-frame timecode)static TimecodeBuilder
TimecodeBuilder.fromTimecode
(Timecode timecode) TimecodeBuilder.withDays
(long days) TimecodeBuilder.withDropFrame
(boolean dropFrame) TimecodeBuilder.withFrames
(long frames) TimecodeBuilder.withHours
(long hours) TimecodeBuilder.withMinutes
(long minutes) TimecodeBuilder.withNegative
(boolean negative) TimecodeBuilder.withSeconds
(long seconds) TimecodeBuilder.withTime
(org.joda.time.DateTime dateTime) TimecodeBuilder.withTime
(org.joda.time.LocalTime time) TimecodeBuilder.withTimecode
(Timecode timecode) Reset this builder to the values in the provided Timecode