Description
Set elapsedComparable when both endpoint offsets are known or sameClockAssertion is true.
Personal health logs distinguish clock coordinates, elapsed durations, pauses, and missing time metadata. A supplied time comparison organizes records without measuring an activity or assessing its health effects.
Set elapsedComparable when both endpoint offsets are known or sameClockAssertion is true.
When to use this tool
Use Sleep Diary Unknown Offset Flag when you need one explicit diary-duration or clock-accounting component.
How to use the tool and how it works
- Enter startOffsetKnown, endOffsetKnown, sameClockAssertion. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read elapsedComparable, missingEndpoints. Inspect elapsedComparable before interpreting the associated values.
Set elapsedComparable when both endpoint offsets are known or sameClockAssertion is true. Independently list start and end whose offset flags are false.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| startOffsetKnown | Start Offset Known | Required. Boolean. |
| endOffsetKnown | End Offset Known | Required. Boolean. |
| sameClockAssertion | Same Clock Assertion | Required. Boolean. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| elapsedComparable | Elapsed Comparable | Required. Boolean. |
| missingEndpoints | Endpoints whose offset-known flag is false, even when sameClockAssertion makes comparison eligible. | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
{
"input": {
"startOffsetKnown": false,
"endOffsetKnown": true,
"sameClockAssertion": false
},
"output": {
"elapsedComparable": false,
"missingEndpoints": [
"start"
]
}
} Limitations and assumptions
- A same-clock assertion can permit comparability while missingEndpoints remains nonempty; no offsets, elapsed duration, timezone, or sleep assessment are computed.
- 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.
Alternative or Complementary methods
Retain dates and offset information and consult an appropriate professional for questions about health, care, or suitable activity.
References
Similar or alternative tools
- Sleep Entry Clock Reference Pair
Return localEnd-localStart, endOffset-startOffset, and local duration minus offset change as elapsedMinutes.
- Health Diary Fixed Offset Midnight Split
Split duration into the first remainder to midnight and subsequent 1440-minute segments.