Class Holiday
- java.lang.Object
-
- de.focus_shift.jollyday.jackson.mapping.Holiday
-
- Direct Known Subclasses:
EthiopianOrthodoxHoliday,FixedWeekdayBetweenFixed,FixedWeekdayInMonth,FixedWeekdayRelativeToFixed,MoveableHoliday,RelativeToEasterSunday,RelativeToFixed,RelativeToWeekdayInMonth
public abstract class Holiday extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected StringdescriptionPropertiesKeyprotected HolidayCycleTypeeveryprotected HolidayTypelocalizedTypeprotected IntegervalidFromprotected IntegervalidTo
-
Constructor Summary
Constructors Constructor Description Holiday()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescriptionPropertiesKey()Gets the value of the descriptionPropertiesKey property.HolidayCycleTypegetEvery()Gets the value of the every property.HolidayTypegetLocalizedType()Gets the value of the localizedType property.IntegergetValidFrom()Gets the value of the validFrom property.IntegergetValidTo()Gets the value of the validTo property.voidsetDescriptionPropertiesKey(String value)Sets the value of the descriptionPropertiesKey property.voidsetEvery(HolidayCycleType value)Sets the value of the every property.voidsetLocalizedType(HolidayType value)Sets the value of the localizedType property.voidsetValidFrom(Integer value)Sets the value of the validFrom property.voidsetValidTo(Integer value)Sets the value of the validTo property.
-
-
-
Field Detail
-
validFrom
protected Integer validFrom
-
validTo
protected Integer validTo
-
every
protected HolidayCycleType every
-
descriptionPropertiesKey
protected String descriptionPropertiesKey
-
localizedType
protected HolidayType localizedType
-
-
Method Detail
-
getValidFrom
public Integer getValidFrom()
Gets the value of the validFrom property.- Returns:
- possible object is
Integer
-
setValidFrom
public void setValidFrom(Integer value)
Sets the value of the validFrom property.- Parameters:
value- allowed object isInteger
-
getValidTo
public Integer getValidTo()
Gets the value of the validTo property.- Returns:
- possible object is
Integer
-
setValidTo
public void setValidTo(Integer value)
Sets the value of the validTo property.- Parameters:
value- allowed object isInteger
-
getEvery
public HolidayCycleType getEvery()
Gets the value of the every property.- Returns:
- possible object is
HolidayCycleType
-
setEvery
public void setEvery(HolidayCycleType value)
Sets the value of the every property.- Parameters:
value- allowed object isHolidayCycleType
-
getDescriptionPropertiesKey
public String getDescriptionPropertiesKey()
Gets the value of the descriptionPropertiesKey property.- Returns:
- possible object is
String
-
setDescriptionPropertiesKey
public void setDescriptionPropertiesKey(String value)
Sets the value of the descriptionPropertiesKey property.- Parameters:
value- allowed object isString
-
getLocalizedType
public HolidayType getLocalizedType()
Gets the value of the localizedType property.- Returns:
- possible object is
HolidayType
-
setLocalizedType
public void setLocalizedType(HolidayType value)
Sets the value of the localizedType property.- Parameters:
value- allowed object isHolidayType
-
-