Class BaseTemporal
- java.lang.Object
-
- org.opencds.cqf.cql.engine.runtime.BaseTemporal
-
- All Implemented Interfaces:
java.lang.Comparable<BaseTemporal>,CqlType
public abstract class BaseTemporal extends java.lang.Object implements CqlType, java.lang.Comparable<BaseTemporal>
-
-
Constructor Summary
Constructors Constructor Description BaseTemporal()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract java.lang.Integercompare(BaseTemporal other, boolean forSort)abstract java.lang.IntegercompareToPrecision(BaseTemporal other, Precision p)java.time.ZoneOffsetgetEvaluationOffset()static java.lang.StringgetHighestPrecision(BaseTemporal... values)static java.lang.StringgetLowestPrecision(BaseTemporal... values)PrecisiongetPrecision()abstract IntervalgetUncertaintyInterval(Precision p)abstract booleanisUncertain(Precision p)voidsetEvaluationOffset(java.time.ZoneOffset evaluationOffset)BaseTemporalsetPrecision(Precision precision)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opencds.cqf.cql.engine.runtime.CqlType
equal, equivalent
-
-
-
-
Method Detail
-
getPrecision
public Precision getPrecision()
-
setPrecision
public BaseTemporal setPrecision(Precision precision)
-
getEvaluationOffset
public java.time.ZoneOffset getEvaluationOffset()
-
setEvaluationOffset
public void setEvaluationOffset(java.time.ZoneOffset evaluationOffset)
-
getHighestPrecision
public static java.lang.String getHighestPrecision(BaseTemporal... values)
-
getLowestPrecision
public static java.lang.String getLowestPrecision(BaseTemporal... values)
-
compare
public abstract java.lang.Integer compare(BaseTemporal other, boolean forSort)
-
compareToPrecision
public abstract java.lang.Integer compareToPrecision(BaseTemporal other, Precision p)
-
isUncertain
public abstract boolean isUncertain(Precision p)
-
-