de.jollyday.config.RelativeToWeekdayInMonth 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.3.0 generiert
// Siehe https://javaee.github.io/jaxb-v2/
// Änderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren.
// Generiert: 2018.10.31 um 07:03:35 PM CET
//
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.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java-Klasse für RelativeToWeekdayInMonth complex type.
*
*
Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
*
* <complexType name="RelativeToWeekdayInMonth">
* <complexContent>
* <extension base="{http://www.example.org/Holiday}Holiday">
* <sequence>
* <element name="FixedWeekday" type="{http://www.example.org/Holiday}FixedWeekdayInMonth"/>
* </sequence>
* <attribute name="weekday" type="{http://www.example.org/Holiday}Weekday" />
* <attribute name="when" type="{http://www.example.org/Holiday}When" />
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "RelativeToWeekdayInMonth", propOrder = {
"fixedWeekday"
})
public class RelativeToWeekdayInMonth
extends Holiday
{
@XmlElement(name = "FixedWeekday", required = true)
protected FixedWeekdayInMonth fixedWeekday;
@XmlAttribute(name = "weekday")
protected Weekday weekday;
@XmlAttribute(name = "when")
protected When when;
/**
* Ruft den Wert der fixedWeekday-Eigenschaft ab.
*
* @return
* possible object is
* {@link FixedWeekdayInMonth }
*
*/
public FixedWeekdayInMonth getFixedWeekday() {
return fixedWeekday;
}
/**
* Legt den Wert der fixedWeekday-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link FixedWeekdayInMonth }
*
*/
public void setFixedWeekday(FixedWeekdayInMonth value) {
this.fixedWeekday = 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;
}
/**
* Ruft den Wert der when-Eigenschaft ab.
*
* @return
* possible object is
* {@link When }
*
*/
public When getWhen() {
return when;
}
/**
* Legt den Wert der when-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link When }
*
*/
public void setWhen(When value) {
this.when = value;
}
}