com.helger.holiday.jaxb.Weekday Maven / Gradle / Ivy
package com.helger.holiday.jaxb;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
import com.helger.commons.annotation.CodingStyleguideUnaware;
/**
* Java class for Weekday.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="Weekday">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="MONDAY"/>
* <enumeration value="TUESDAY"/>
* <enumeration value="WEDNESDAY"/>
* <enumeration value="THURSDAY"/>
* <enumeration value="FRIDAY"/>
* <enumeration value="SATURDAY"/>
* <enumeration value="SUNDAY"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "Weekday")
@XmlEnum
@CodingStyleguideUnaware
public enum Weekday {
MONDAY,
TUESDAY,
WEDNESDAY,
THURSDAY,
FRIDAY,
SATURDAY,
SUNDAY;
public String value() {
return name();
}
public static Weekday fromValue(String v) {
return valueOf(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy