Class ToDate

All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
Direct Known Subclasses:
ToDateEvaluator

public class ToDate extends UnaryExpression implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
The ToDate operator converts the value of its argument to a Date value. For String values, The operator expects the string to be formatted using the ISO-8601 date representation: YYYY-MM-DD See the Formatting Strings topic in the CQL Reference (Appendix B) of the CQL Specification for a description of formatting strings. In addition, the string must be interpretable as a valid date value. Note that the operator can take datetime formatted strings and will ignore the time portions. If the input string is not formatted correctly, or does not represent a valid date value, the result is null. As with date literals, date values may be specified to any precision. For DateTime values, the result is equivalent to extracting the Date component of the DateTime value. If the argument is null, the result is null.

Java class for ToDate complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="ToDate">
   <complexContent>
     <extension base="{urn:hl7-org:elm:r1}UnaryExpression">
     </extension>
   </complexContent>
 </complexType>