Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
Month |
|
| 1.0;1 |
1 | // | |
2 | // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 | |
3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> | |
4 | // Any modifications to this file will be lost upon recompilation of the source schema. | |
5 | // Generated on: 2015.04.14 at 06:59:39 PM CEST | |
6 | // | |
7 | ||
8 | ||
9 | package de.jollyday.config; | |
10 | ||
11 | import javax.xml.bind.annotation.XmlEnum; | |
12 | import javax.xml.bind.annotation.XmlType; | |
13 | ||
14 | ||
15 | /** | |
16 | * <p>Java class for Month. | |
17 | * | |
18 | * <p>The following schema fragment specifies the expected content contained within this class. | |
19 | * <p> | |
20 | * <pre> | |
21 | * <simpleType name="Month"> | |
22 | * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> | |
23 | * <enumeration value="JANUARY"/> | |
24 | * <enumeration value="FEBRUARY"/> | |
25 | * <enumeration value="MARCH"/> | |
26 | * <enumeration value="MAY"/> | |
27 | * <enumeration value="JUNE"/> | |
28 | * <enumeration value="JULY"/> | |
29 | * <enumeration value="AUGUST"/> | |
30 | * <enumeration value="SEPTEMBER"/> | |
31 | * <enumeration value="OCTOBER"/> | |
32 | * <enumeration value="NOVEMBER"/> | |
33 | * <enumeration value="DECEMBER"/> | |
34 | * <enumeration value="APRIL"/> | |
35 | * </restriction> | |
36 | * </simpleType> | |
37 | * </pre> | |
38 | * | |
39 | */ | |
40 | 3 | @XmlType(name = "Month") |
41 | @XmlEnum | |
42 | 12 | public enum Month { |
43 | ||
44 | 1 | JANUARY, |
45 | 1 | FEBRUARY, |
46 | 1 | MARCH, |
47 | 1 | MAY, |
48 | 1 | JUNE, |
49 | 1 | JULY, |
50 | 1 | AUGUST, |
51 | 1 | SEPTEMBER, |
52 | 1 | OCTOBER, |
53 | 1 | NOVEMBER, |
54 | 1 | DECEMBER, |
55 | 1 | APRIL; |
56 | ||
57 | public String value() { | |
58 | 0 | return name(); |
59 | } | |
60 | ||
61 | public static Month fromValue(String v) { | |
62 | 0 | return valueOf(v); |
63 | } | |
64 | ||
65 | } |