All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.cqframework.cql.elm.execution.DateTimePrecision Maven / Gradle / Ivy

There is a newer version: 1.3.12.1
Show newest version
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2018.04.13 at 05:43:32 PM MDT 
//


package org.cqframework.cql.elm.execution;

import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;


/**
 * 

Java class for DateTimePrecision. * *

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

*

 * <simpleType name="DateTimePrecision">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     <enumeration value="Year"/>
 *     <enumeration value="Month"/>
 *     <enumeration value="Week"/>
 *     <enumeration value="Day"/>
 *     <enumeration value="Hour"/>
 *     <enumeration value="Minute"/>
 *     <enumeration value="Second"/>
 *     <enumeration value="Millisecond"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "DateTimePrecision", namespace = "urn:hl7-org:elm:r1") @XmlEnum public enum DateTimePrecision { @XmlEnumValue("Year") YEAR("Year"), @XmlEnumValue("Month") MONTH("Month"), @XmlEnumValue("Week") WEEK("Week"), @XmlEnumValue("Day") DAY("Day"), @XmlEnumValue("Hour") HOUR("Hour"), @XmlEnumValue("Minute") MINUTE("Minute"), @XmlEnumValue("Second") SECOND("Second"), @XmlEnumValue("Millisecond") MILLISECOND("Millisecond"); private final String value; DateTimePrecision(String v) { value = v; } public String value() { return value; } public static DateTimePrecision fromValue(String v) { for (DateTimePrecision c: DateTimePrecision.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy