How can I check in an array if the From and To dates overlap with other dates in the array ?
[
{
"name": "Test_ABC",
"children": [
{
"Von": 1657404000000,
"Bis": 1657836000000
},
{
"Von": 1657922400000,
"Bis": 1658354400000
}
]
},
{
"name": "Test0001",
"children": [
{
"Von": 1657490400000,
"Bis": 1658700000000
},
{
"Von": 1646866800000,
"Bis": 1647558000000
}
]
}
]
Unfortunately I do not get further at the point