public class RestrictedTimeInterval extends SetComponentTime
example: //a new day with today's date, ignoring hours minutes and seconds PrecisionDate high = new PrecisionDate(Precision.day); RestrictedTimeInterval = RestrictedTimeInterval.getHighInstance(high);The following combinations are allowed via the schema: [{low}, {width}, {high}, {center}, {low, width}, {width, high}, {low, high}, {center, width}]
operatorvalue| Constructor and Description |
|---|
RestrictedTimeInterval() |
getNarrative, getOperator, setNarrative, setOperatorgetValue, setValuepublic static RestrictedTimeInterval getLowInstance(PreciseDate low)
public static RestrictedTimeInterval getWidthInstance(TimeQuantity width)
public static RestrictedTimeInterval getHighInstance(PreciseDate high)
public static RestrictedTimeInterval getCenterInstance(PreciseDate center)
public static RestrictedTimeInterval getLowWidthInstance(PreciseDate low, TimeQuantity width)
public static RestrictedTimeInterval getLowHighInstance(PreciseDate low, PreciseDate high)
public static RestrictedTimeInterval getLowHighInstance(PreciseDate low, PreciseDate high, TimeQuantity width)
public static RestrictedTimeInterval getHighWidthInstance(PreciseDate high, TimeQuantity width)
public static RestrictedTimeInterval getCenterWidthInstance(PreciseDate center, TimeQuantity width)
public PreciseDate getHigh()
public void setHigh(PreciseDate high)
public PreciseDate getLow()
public void setLow(PreciseDate low)
public PreciseDate getCenter()
public void setCenter(PreciseDate center)
public TimeQuantity getWidth()
public void setWidth(TimeQuantity width)
Copyright © 2021. All rights reserved.