Show Menu
TOPICS×

ReplaceTimeRange class

The ReplaceTimeRange utility class is an extension of the TimeRange class to be used with CustomRangeMetadata.
public class ReplaceTimeRange extends TimeRange {
    // Default constructor method
    public ReplaceTimeRange() { 
        ... 
    }

    // Details of begining, duration and replaceDuration 
    // provided at construction time 
    public ReplaceTimeRange(long begin, long duration, long replaceDuration) { 
        ... 
    }

    // Replace duration
    public long getReplaceDuration() { 
        ... 
    }
}