de.jollyday.config.FixedWeekdayRelativeToFixed 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.04.14 at 07:03:11 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.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for FixedWeekdayRelativeToFixed complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="FixedWeekdayRelativeToFixed">
* <complexContent>
* <extension base="{http://www.example.org/Holiday}Holiday">
* <sequence>
* <element name="day" type="{http://www.example.org/Holiday}Fixed"/>
* </sequence>
* <attribute name="which" type="{http://www.example.org/Holiday}Which" />
* <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 = "FixedWeekdayRelativeToFixed", propOrder = {
"day"
})
public class FixedWeekdayRelativeToFixed
extends Holiday
{
@XmlElement(required = true)
protected Fixed day;
@XmlAttribute(name = "which")
protected Which which;
@XmlAttribute(name = "weekday")
protected Weekday weekday;
@XmlAttribute(name = "when")
protected When when;
/**
* Gets the value of the day property.
*
* @return
* possible object is
* {@link Fixed }
*
*/
public Fixed getDay() {
return day;
}
/**
* Sets the value of the day property.
*
* @param value
* allowed object is
* {@link Fixed }
*
*/
public void setDay(Fixed value) {
this.day = value;
}
/**
* Gets the value of the which property.
*
* @return
* possible object is
* {@link Which }
*
*/
public Which getWhich() {
return which;
}
/**
* Sets the value of the which property.
*
* @param value
* allowed object is
* {@link Which }
*
*/
public void setWhich(Which value) {
this.which = value;
}
/**
* Gets the value of the weekday property.
*
* @return
* possible object is
* {@link Weekday }
*
*/
public Weekday getWeekday() {
return weekday;
}
/**
* Sets the value of the weekday property.
*
* @param value
* allowed object is
* {@link Weekday }
*
*/
public void setWeekday(Weekday value) {
this.weekday = value;
}
/**
* Gets the value of the when property.
*
* @return
* possible object is
* {@link When }
*
*/
public When getWhen() {
return when;
}
/**
* Sets the value of the when property.
*
* @param value
* allowed object is
* {@link When }
*
*/
public void setWhen(When value) {
this.when = value;
}
}