Documentation of 'org.jfin.date.holiday.HolidayCalendarSet' Java class
HolidayCalendarSet
org.jfin.date.holiday

Class HolidayCalendarSet



  • public class HolidayCalendarSet
    extends HolidayCalendar
    Collector of HolidayCalendars, indistinguishable from any other HolidayCalendar. It can also (unusually) contain sets of other sets.
    • Constructor Detail

      • HolidayCalendarSet

        public HolidayCalendarSet()
        Default constructor
    • Method Detail

      • addHolidayCalendar

        public void addHolidayCalendar(HolidayCalendar holidayCalendar)
        Adds a particular holidayCalendar to the set
        Parameters:
        holidayCalendar -
      • removeHolidayCalendar

        public void removeHolidayCalendar(HolidayCalendar holidayCalendar)
        Removes a particular instance of a holidayCalendar from this set
        Parameters:
        holidayCalendar -
      • getHolidayCalendars

        public java.util.Set<HolidayCalendar> getHolidayCalendars()
        Returns a set containing all of the holidayCalendars
        Returns:
        The Set of holidayCalendars
      • getHolidayCalendarIterator

        public java.util.Iterator getHolidayCalendarIterator()
        Returns an iterator containing all of the holidayCalendars
        Returns:
        The Iterator of holidayCalendars
      • isWeekend

        public boolean isWeekend(java.util.Calendar d)
        Interrogates all of the contained holidayCalendars returning true if any one of them is a weekend.
        Specified by:
        isWeekend in class HolidayCalendar
        Parameters:
        d - The calendar to check
        Returns:
        true if any one of the set is a weekend, otherwise false
      • isHoliday

        public boolean isHoliday(java.util.Calendar d)
        Interrogates all of the contained holidayCalendars returning true if any one of them is a holiday.
        Specified by:
        isHoliday in class HolidayCalendar
        Parameters:
        d - The calendar to check
        Returns:
        true if any one of the set is a holiday, otherwise false

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.