Class DateTime

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

    public class DateTime
    extends OperatorExpression
    implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
    The DateTime operator constructs a DateTime value from the given components. At least one component other than timezoneOffset must be specified, and no component may be specified at a precision below an unspecified precision. For example, hour may be null, but if it is, minute, second, and millisecond must all be null as well. Although the milliseconds are specified with a separate component, seconds and milliseconds are combined and represented as a Decimal for the purposes of comparison. If timezoneOffset is not specified, it is defaulted to the timezone offset of the evaluation request.

    Java class for DateTime complex type.

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

     <complexType name="DateTime">
       <complexContent>
         <extension base="{urn:hl7-org:elm:r1}OperatorExpression">
           <sequence>
             <element name="year" type="{urn:hl7-org:elm:r1}Expression"/>
             <element name="month" type="{urn:hl7-org:elm:r1}Expression" minOccurs="0"/>
             <element name="day" type="{urn:hl7-org:elm:r1}Expression" minOccurs="0"/>
             <element name="hour" type="{urn:hl7-org:elm:r1}Expression" minOccurs="0"/>
             <element name="minute" type="{urn:hl7-org:elm:r1}Expression" minOccurs="0"/>
             <element name="second" type="{urn:hl7-org:elm:r1}Expression" minOccurs="0"/>
             <element name="millisecond" type="{urn:hl7-org:elm:r1}Expression" minOccurs="0"/>
             <element name="timezoneOffset" type="{urn:hl7-org:elm:r1}Expression" minOccurs="0"/>
           </sequence>
         </extension>
       </complexContent>
     </complexType>