Methods
(inner) getNumberOfHoursToConsiderForDay(date, workStartTime, workEndTime, breakStartTime, breakEndTime) → {BatchActualTimeScheduleDetails}
This function will decide the number of hours to consider for the day
If the current date is different from the date passed in, it will fail
Parameters:
| Name | Type | Description |
|---|---|---|
date |
String | The formated date yyyymmdd |
workStartTime |
String | The work start time for batch |
workEndTime |
String | The work end time for batch |
breakStartTime |
String | The break start time for batch |
breakEndTime |
String | The break end time for batch |
Returns:
The array of objects module:useCases/analytics/calculateEfficiency~batchActualTimeScheduleDetails
- Type
- BatchActualTimeScheduleDetails
Type Definitions
BatchActualTimeScheduleDetails
Type:
- Object
Properties:
| Name | Type | Description |
|---|---|---|
batchActualTimeScheduleDetails.actualWorkStartTime |
String | The calculated actual work start time for batch |
batchActualTimeScheduleDetails.actualWorkEndTime |
String | The calculated actual work end time for batch |
batchActualTimeScheduleDetails.actualBreakStartTime |
String | The calculated actual break start time for batch |
batchActualTimeScheduleDetails.actualBreakEndTime |
String | The calculated actual break end time for batch |