Class Holiday

  • Direct Known Subclasses:
    EthiopianOrthodoxHoliday, FixedWeekdayBetweenFixed, FixedWeekdayInMonth, FixedWeekdayRelativeToFixed, MoveableHoliday, RelativeToEasterSunday, RelativeToFixed, RelativeToWeekdayInMonth

    public abstract class Holiday
    extends Object

    Java class for Holiday complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="Holiday">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <attribute name="validFrom" type="{http://www.w3.org/2001/XMLSchema}int" />
           <attribute name="validTo" type="{http://www.w3.org/2001/XMLSchema}int" />
           <attribute name="every" type="{https://focus_shift.de/jollyday/schema/holiday}HolidayCycleType" default="EVERY_YEAR" />
           <attribute name="descriptionPropertiesKey" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="localizedType" type="{https://focus_shift.de/jollyday/schema/holiday}HolidayType" default="OFFICIAL_HOLIDAY" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • Holiday

        public Holiday()
    • 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 is Integer
      • 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 is Integer
      • 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 is String
      • 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 is HolidayType