Warning |
---|
Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8 for Server/Data Center? Click here ! |
Info |
---|
|
This routine is available starting with katl-commons SIL Engine™ 2.5. |
Syntax
getWorkingInterval(startDate, endDate, startWorkingHour, endWorkingHour, weekendDays, holidays)
...
Excerpt |
---|
Returns the number of working hours from a time interval. |
Parameters
Parameter | Type | Required | Description |
---|
startDate | Date | Yes |
the start Start working date. |
endDate | Date | Yes |
the end End working date. |
startWorkingHour | String | Yes |
the daily Daily start working hour (HH:mm). |
endWorkingHour | String | Yes |
the daily Daily end working hour (HH:mm). |
weekendDays | Number array | Yes |
the weekend Weekend days (day of week). |
holidays | Date array | Yes |
the dates Return type
number
The returned number represents the working hours from the given time interval.
...