Class RecurrentEventHelper

java.lang.Object
org.ametys.plugins.explorer.calendars.helper.RecurrentEventHelper

public final class RecurrentEventHelper extends Object
Helper for recurrent event operation
  • Method Details

    • getNextDate

      public static Date getNextDate(CalendarEvent event, Date date)
      Get the next occurrence date
      Parameters:
      event - the calendar event
      date - the occurrence date
      Returns:
      the next occurrence date
    • getWorkingDays

      public static List<Integer> getWorkingDays()
      get the list of working days
      Returns:
      a list of integer, matching Calendar days