Class HighLoadTimeslot

    • Constructor Detail

      • HighLoadTimeslot

        public HighLoadTimeslot()
    • Method Detail

      • isActiveWeekday

        protected static boolean isActiveWeekday​(WeekdayFilter activeDayFilter,
                                                 java.time.LocalDateTime dateTime)
        Is 'dateTime' within the ActiveWeekdayFilter?
        Parameters:
        activeDayFilter -
        dateTime -
        Returns:
      • isActiveDate

        protected static boolean isActiveDate​(java.time.LocalDate startDate,
                                              java.time.LocalDate endDate,
                                              java.time.LocalDateTime dateTime)
      • isActiveTime

        protected static boolean isActiveTime​(java.time.LocalTime startTime,
                                              java.time.LocalTime endTime,
                                              java.time.LocalDateTime dateTime)
        Is the time of 'dateTime' within startTime and endTime?
        Parameters:
        startTime -
        endTime -
        dateTime -
        Returns:
      • convertDate

        protected static java.time.LocalDate convertDate​(java.lang.String date)
        Converts a string to a LocalDate.
        Parameters:
        date -
        Returns:
      • convertTime

        protected static java.time.LocalTime convertTime​(java.lang.String time)
        Converts a string to a LocalTime.
        Parameters:
        time -
        Returns:
      • isWeekend

        protected static boolean isWeekend​(java.time.LocalDateTime dateTime)
        Is 'dateTime' a Saturday or Sunday?
        Parameters:
        dateTime -
        Returns: