Package com.ibm.fhir.cql.helpers
Class DateHelper
- java.lang.Object
 - 
- com.ibm.fhir.cql.helpers.DateHelper
 
 
- 
public class DateHelper extends Object
Helper logic for working with java.util.time objects and the CQL internal date and time types. 
- 
- 
Constructor Summary
Constructors Constructor Description DateHelper() 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LocalDateTimedateCeiling(TemporalAccessor ta)static LocalDateTimedateFloor(TemporalAccessor ta)protected static LocalDategetDateWithDefaults(TemporalAccessor ta, int defaultMonth, int defaultDay)static intlastDayOfMonth(int year, int month)static org.opencds.cqf.cql.engine.runtime.BaseTemporaltoCqlTemporal(TemporalAccessor ta) 
 - 
 
- 
- 
Method Detail
- 
dateFloor
public static LocalDateTime dateFloor(TemporalAccessor ta)
 
- 
dateCeiling
public static LocalDateTime dateCeiling(TemporalAccessor ta)
 
- 
getDateWithDefaults
protected static LocalDate getDateWithDefaults(TemporalAccessor ta, int defaultMonth, int defaultDay)
 
- 
lastDayOfMonth
public static int lastDayOfMonth(int year, int month) 
- 
toCqlTemporal
public static org.opencds.cqf.cql.engine.runtime.BaseTemporal toCqlTemporal(TemporalAccessor ta)
 
 - 
 
 -