de.jollyday.config.Weekday Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jollyday Show documentation
Show all versions of jollyday Show documentation
This API determines the holidays for a given year, country/name and eventually state/region. The holiday data is
stored in XML files (one for each country) and will be read from the classpath. You can provide your own holiday
calendar XML file or use any of the provided ones.
Currently there are 63 countries supported like the following: United States, most european countries, Russia,
India, Australia.
Besides those there will be more special calendars like currently existing NYSE calendar (New York Stock
Exchange).
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.05.06 at 11:14:56 PM CEST
//
package de.jollyday.config;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
/**
* 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
public enum Weekday {
MONDAY,
TUESDAY,
WEDNESDAY,
THURSDAY,
FRIDAY,
SATURDAY,
SUNDAY;
public String value() {
return name();
}
public static Weekday fromValue(String v) {
return valueOf(v);
}
}