Description
Measure positive-duration overlap between two supplied diary intervals.
Developmental records distinguish calendar age, supplied age corrections, observation states, assent and privacy choices. A corrected age can be negative under supplied assumptions, and a missing response differs from an observed zero. A display mask changes presentation without protecting the underlying record.
Measure positive-duration overlap between two supplied diary intervals.
When to use this tool
Use Caregiver Diary Overlap Minute Flag when you already have firstStartMinute, firstEndMinute, secondStartMinute, secondEndMinute and need to measure positive-duration overlap between two supplied diary intervals.
How to use the tool and how it works
- Enter firstStartMinute, firstEndMinute, secondStartMinute, secondEndMinute. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read overlapMinutes, hasOverlap. Inspect hasOverlap before interpreting the associated values.
Require both intervals ordered; overlap=max(0,min(ends)-max(starts)), hasOverlap=overlap>0.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| firstStartMinute | First Start Minute | Required. Finite number. |
| firstEndMinute | First End Minute | Required. Finite number. |
| secondStartMinute | Second Start Minute | Required. Finite number. |
| secondEndMinute | Second End Minute | Required. Finite number. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| overlapMinutes | Overlap Minutes | Required. Finite number. |
| hasOverlap | Has Overlap | Required. Boolean. |
{
"input": {
"firstStartMinute": 10,
"firstEndMinute": 30,
"secondStartMinute": 20,
"secondEndMinute": 40
},
"output": {
"overlapMinutes": 10,
"hasOverlap": true
}
} Limitations and assumptions
- Touching endpoints give zero and false. No diary content, caregiver identity, duplicate event, actual time or behavioral interpretation 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
Use the complete observation or assessment method, age convention and consent context. Review source records and data protection together; local counts, labels and geometric measurements do not establish development, diagnosis or appropriate support.
References
Similar or alternative tools
- Caregiver Report Recall Period Label
Label a caregiver report's supplied role and recall-day count.
- Infant Looking Trial Validity Flag
Combine supplied presentation, tracking and completion flags for one trial.