Hi,
We want to compare the start and enddate of the task with the resource's recurrentstart date and recurrentend date.
For example:
say a resource's calendar is
[
{
id: -2147463581,
intervals: [
{
isWorking: false,
name: "DayOff",
recurrentEndDate: "at 06:00",
recurrentStartDate: "at 10:00",
type: "DayOff",
},
],
},
]
that is he does not work from 10 am to next day 6 am
And there is a task whose start time is say today 4 pm to tomorrow 1 am(night).
Now how can I compare whether the task time false between the recurrentstartdate and recurrentenddate of the resource ?
as you can see the task false inside the recurrentstartdate and recurrentenddate of the resource . How can I find this?
I also tried using https://bryntum.com/products/gantt/docs/api/Core/helper/DateHelper#function-timeSpanContains-static
is not working since , I want to compare only time .
How to proceed ?