Description
Return exact owner-ID equality, interval-overlap duration clamped at zero, and the uncovered gap clamped at zero.
Clinical-trial record intervals track events, query clocks, pauses, and delegation periods. Duration arithmetic requires a common time origin and policy for excluded intervals; it does not authenticate records or establish acceptable trial conduct.
Return exact owner-ID equality, interval-overlap duration clamped at zero, and the uncovered gap clamped at zero.
When to use this tool
Use GCP Monitoring Action Owner Overlap Gap when you need an explicit clinical-trial record-duration or overlap calculation.
How to use the tool and how it works
- Enter firstOwner, secondOwner, 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 sameOwner, overlap, uncoveredGap. Inspect sameOwner before interpreting the associated values.
Require each owner's start/end interval to be ordered. Return exact owner-ID equality, interval-overlap duration clamped at zero, and the uncovered gap clamped at zero.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| firstOwner | First Owner | Required. Text; maximum UTF-16 length 8192. |
| secondOwner | Second Owner | Required. Text; maximum UTF-16 length 8192. |
| 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 |
|---|---|---|
| sameOwner | Same Owner | Required. Boolean. |
| overlap | Overlap | Required. Finite number. |
| uncoveredGap | Uncovered Gap | Required. Finite number. |
{
"input": {
"firstOwner": "A",
"secondOwner": "B",
"firstStart": 0,
"firstEnd": 10,
"secondStart": 8,
"secondEnd": 20
},
"output": {
"sameOwner": false,
"overlap": 2,
"uncoveredGap": 0
}
} Limitations and assumptions
- Touching intervals have zero overlap and gap. The supplied owners and times do not establish responsibility, handover quality, delegation, or actual action completion.
- 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 trial protocol, controlled records, and relevant procedures for actual decisions. Resolve time units, clock references, pause authorization, and source evidence before applying a timing rule.
References
Similar or alternative tools
- GCP Delegation Overlap Credit
Compute their nonnegative intersection and subtract it once from the sum of durations for uniqueDuration.
- Delegation Period Overlap Share
Return overlap duration and overlap divided by the activity duration.