Class DateTime
java.lang.Object
org.opencds.cqf.cql.engine.runtime.BaseTemporal
org.opencds.cqf.cql.engine.runtime.DateTime
- All Implemented Interfaces:
Comparable<BaseTemporal>,CqlType
-
Constructor Summary
ConstructorsConstructorDescriptionDateTime(String dateString, ZoneOffset offset) DateTime(BigDecimal offset, int... dateElements) DateTime(OffsetDateTime dateTime) DateTime(OffsetDateTime dateTime, Precision precision) -
Method Summary
Modifier and TypeMethodDescriptioncompare(BaseTemporal other, boolean forSort) intcompareTo(BaseTemporal other) compareToPrecision(BaseTemporal other, Precision thePrecision) equivalent(Object other) expandPartialMax(Precision thePrecision) expandPartialMin(Precision thePrecision) expandPartialMinFromPrecision(Precision thePrecision) static DateTimefromJavaDate(Date date) getNormalized(Precision precision) getNormalized(Precision precision, Context c) getUncertaintyInterval(Precision thePrecision) booleanisUncertain(Precision thePrecision) voidsetDateTime(OffsetDateTime dateTime) toString()withDateTime(OffsetDateTime dateTime) withPrecision(Precision precision) Methods inherited from class org.opencds.cqf.cql.engine.runtime.BaseTemporal
getEvaluationOffset, getHighestPrecision, getLowestPrecision, getPrecision, setEvaluationOffset, setPrecision
-
Constructor Details
-
DateTime
-
DateTime
-
DateTime
-
DateTime
-
-
Method Details
-
getDateTime
-
setDateTime
-
withDateTime
-
withPrecision
-
expandPartialMinFromPrecision
-
expandPartialMin
-
expandPartialMax
-
isUncertain
- Specified by:
isUncertainin classBaseTemporal
-
getUncertaintyInterval
- Specified by:
getUncertaintyIntervalin classBaseTemporal
-
compare
- Specified by:
comparein classBaseTemporal
-
getNormalized
-
getNormalized
-
compareToPrecision
- Specified by:
compareToPrecisionin classBaseTemporal
-
compareTo
-
equivalent
-
equal
-
toString
-
toJavaDate
-
fromJavaDate
-