Description
Require ordered support intervals and return their nonnegative overlap length.
Research schedules and activity records use numeric intervals, pauses, and overlap conventions. The same endpoints can produce different summaries depending on whether simultaneous activities are counted once or separately.
Require ordered support intervals and return their nonnegative overlap length.
When to use this tool
Use Caregiver Support Interval Overlap when you need a time-budget or interval calculation in geriatric research records.
How to use the tool and how it works
- Enter firstStart, firstEnd, secondStart, secondEnd. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read overlap. Use the output convention below.
Require ordered support intervals and return their nonnegative overlap length.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| firstStart | First Start | Required. Finite number. |
| firstEnd | First End | Required. Finite number. |
| secondStart | Second Start | Required. Finite number. |
| secondEnd | Second End | Required. Finite number. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| overlap | Overlap | Required. Finite number. |
{
"input": {
"firstStart": 10,
"firstEnd": 20,
"secondStart": 15,
"secondEnd": 25
},
"output": {
"overlap": 5
}
} Limitations and assumptions
- Times share one coordinate and unit; no caregiver identity, adequate coverage, safe care plan, or actual service delivery is verified.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Reconcile the full schedule and source timing convention before aggregation. Use an appropriate observational or clinical assessment for questions that duration arithmetic cannot answer.
References
Similar or alternative tools
- Caregiver Handoff Coverage One Gap
Return overlap, nonnegative separation between intervals as uncoveredGap, and summed durations minus overlap as coveredDuration.
- Caregiver Reported Night Day Duration
Return observed union, unallocated remainder after explicit missing, and observed/period coverage.