Module: utils/getHourIntervalsBetween

Methods

getBatchScheduleBreakUpTime(workStartTime, workEndTime) → {Array.<BatchScheduleBreakUpTime>}

This function is responsible to return the hour intervals between the start time and end time If there is less than an hour interval, it will return the interval as is
Parameters:
Name Type Description
workStartTime String The work start time for batch
workEndTime String The work end time for batch
Returns:
Type
Array.<BatchScheduleBreakUpTime>

Type Definitions

BatchScheduleBreakUpTime

Type:
  • Object
Properties:
Name Type Description
BatchScheduleBreakUpTime.startTime String The break up start time
BatchScheduleBreakUpTime.endTime String The break up end time