Class CalendarsUtils

java.lang.Object
overit.geocallapp.wfm.calendars.CalendarsUtils

public class CalendarsUtils extends Object
Utility class for the calendars module.
Since:
17.0
  • Method Details

    • adjustDayShifts

      public static Date adjustDayShifts(Date dateTimeReference, Date hour)
      Adjusts the shift to span two days, for example a night shift.
      Parameters:
      dateTimeReference - the reference day
      hour - the reference hour
      Returns:
      the calculated end date