Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
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
titleAvailability

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

ParameterTypeRequiredDescription
startDateDateYes
the start
Start working date.
endDateDateYes
the end
End working date.
startWorkingHourStringYes
the daily
Daily start working hour (HH:mm).
endWorkingHourStringYes
the daily
Daily end working hour (HH:mm).
weekendDaysNumber arrayYes
the weekend
Weekend days (day of week).
holidaysDate arrayYes
the dates
Dates of the free days.

Return type

number

The returned number represents the working hours from the given time interval.

...