de.jollyday.config.MovingCondition 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).
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe http://java.sun.com/xml/jaxb
// Änderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren.
// Generiert: 2018.06.08 um 10:01:21 PM CEST
//
package de.jollyday.config;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
/**
* Java-Klasse für MovingCondition complex type.
*
*
Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
*
* <complexType name="MovingCondition">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="substitute" type="{http://www.example.org/Holiday}Weekday" />
* <attribute name="with" type="{http://www.example.org/Holiday}With" />
* <attribute name="weekday" type="{http://www.example.org/Holiday}Weekday" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "MovingCondition")
public class MovingCondition {
@XmlAttribute(name = "substitute")
protected Weekday substitute;
@XmlAttribute(name = "with")
protected With with;
@XmlAttribute(name = "weekday")
protected Weekday weekday;
/**
* Ruft den Wert der substitute-Eigenschaft ab.
*
* @return
* possible object is
* {@link Weekday }
*
*/
public Weekday getSubstitute() {
return substitute;
}
/**
* Legt den Wert der substitute-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link Weekday }
*
*/
public void setSubstitute(Weekday value) {
this.substitute = value;
}
/**
* Ruft den Wert der with-Eigenschaft ab.
*
* @return
* possible object is
* {@link With }
*
*/
public With getWith() {
return with;
}
/**
* Legt den Wert der with-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link With }
*
*/
public void setWith(With value) {
this.with = value;
}
/**
* Ruft den Wert der weekday-Eigenschaft ab.
*
* @return
* possible object is
* {@link Weekday }
*
*/
public Weekday getWeekday() {
return weekday;
}
/**
* Legt den Wert der weekday-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link Weekday }
*
*/
public void setWeekday(Weekday value) {
this.weekday = value;
}
}