Public
Like
timeSpanUnion
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Combines overlapping time spans into single time spans.
Parameters:
timespans
- An array ofTimeSpan
objects to unify. Returns: An array of unifiedTimeSpan
objects.
Represents a span of time with a starting point and a duration in minutes.
Migrated from folder: HomeAutomation/Helpers/timeSpanUnion