Class Date
java.lang.Object
org.opencds.cqf.cql.engine.runtime.BaseTemporal
org.opencds.cqf.cql.engine.runtime.Date
- All Implemented Interfaces:
Comparable<BaseTemporal>,CqlType
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncompare(BaseTemporal other, boolean forSort) intcompareTo(BaseTemporal other) compareToPrecision(BaseTemporal other, Precision thePrecision) equivalent(Object other) expandPartialMax(Precision thePrecision) expandPartialMinFromPrecision(Precision thePrecision) static DateTimefromJavaDate(Date date) getDate()getUncertaintyInterval(Precision thePrecision) booleanisUncertain(Precision thePrecision) voidtoString()Methods inherited from class org.opencds.cqf.cql.engine.runtime.BaseTemporal
getEvaluationOffset, getHighestPrecision, getLowestPrecision, getPrecision, setEvaluationOffset, setPrecision
-
Constructor Details
-
Date
public Date(int year) -
Date
public Date(int year, int month) -
Date
public Date(int year, int month, int day) -
Date
-
Date
-
Date
-
-
Method Details
-
getDate
-
setDate
-
expandPartialMinFromPrecision
-
expandPartialMax
-
compare
- Specified by:
comparein classBaseTemporal
-
compareToPrecision
- Specified by:
compareToPrecisionin classBaseTemporal
-
isUncertain
- Specified by:
isUncertainin classBaseTemporal
-
getUncertaintyInterval
- Specified by:
getUncertaintyIntervalin classBaseTemporal
-
compareTo
-
equivalent
-
equal
-
toString
-
toJavaDate
-
toJavaDate
-
fromJavaDate
-