Class Time
- java.lang.Object
-
- org.opencds.cqf.cql.engine.runtime.BaseTemporal
-
- org.opencds.cqf.cql.engine.runtime.Time
-
- All Implemented Interfaces:
java.lang.Comparable<BaseTemporal>,CqlType
public class Time extends BaseTemporal
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integercompare(BaseTemporal other, boolean forSort)intcompareTo(BaseTemporal other)java.lang.IntegercompareToPrecision(BaseTemporal other, Precision thePrecision)java.lang.Booleanequal(java.lang.Object other)java.lang.Booleanequivalent(java.lang.Object other)TimeexpandPartialMax(Precision thePrecision)TimeexpandPartialMin(Precision thePrecision)TimeexpandPartialMinFromPrecision(Precision thePrecision)java.time.LocalTimegetTime()IntervalgetUncertaintyInterval(Precision thePrecision)booleanisUncertain(Precision thePrecision)java.lang.StringtoString()TimewithPrecision(Precision precision)TimewithTime(java.time.LocalTime time)-
Methods inherited from class org.opencds.cqf.cql.engine.runtime.BaseTemporal
getEvaluationOffset, getHighestPrecision, getLowestPrecision, getPrecision, setEvaluationOffset, setPrecision
-
-
-
-
Constructor Detail
-
Time
public Time(java.time.LocalTime time, Precision precision)
-
Time
public Time(java.lang.String dateString)
-
Time
public Time(int... timeElements)
-
-
Method Detail
-
getTime
public java.time.LocalTime getTime()
-
withTime
public Time withTime(java.time.LocalTime time)
-
isUncertain
public boolean isUncertain(Precision thePrecision)
- Specified by:
isUncertainin classBaseTemporal
-
getUncertaintyInterval
public Interval getUncertaintyInterval(Precision thePrecision)
- Specified by:
getUncertaintyIntervalin classBaseTemporal
-
compare
public java.lang.Integer compare(BaseTemporal other, boolean forSort)
- Specified by:
comparein classBaseTemporal
-
compareToPrecision
public java.lang.Integer compareToPrecision(BaseTemporal other, Precision thePrecision)
- Specified by:
compareToPrecisionin classBaseTemporal
-
compareTo
public int compareTo(BaseTemporal other)
-
equivalent
public java.lang.Boolean equivalent(java.lang.Object other)
-
equal
public java.lang.Boolean equal(java.lang.Object other)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-