Package com.peterphi.std.types
package com.peterphi.std.types
-
ClassDescriptionMakes the use of Java's ugly compareTo operation a little more readableAn Iterator and Enumeration classAn abstract base type for a case-sensitive identifier
All implementations must directly extend this type (ie.Thrown to indicate that it is not possible to represent a timecode or sample count in a precise wayA number of samples at a given sample rateA simple, untyped Id field; this is one step above having a String id
It is recommended that users extend Id themselves rather than using this type (as a SimpleId adds no discernable information about what the id is for)Note: this class has a natural ordering that is inconsistent with equals.Represents Storage unit conversions in a similar fashion to how TimeUnit represents time unit conversions
This enumeration reflects the confused landscape of storage units: it contains computer science units (binary), storage industry units (decimal) and network industry units (decimal, bit-based)Describes a timebase, expressed as a rational number.Represents a timecode, dd:hh:mm:ss:ff - where ff may be an arbitrary length
Timecodes containing days are not well supported.Constructs Timecode instancesCompares Timecodes in order of how much time they represent
This means that 00:00:00:02@25 is greater than 00:00:00:1920@48kHzRepresents a range between two non-null timecodes