Description
Compute their nonnegative intersection and subtract it once from the sum of durations for uniqueDuration.
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.
Compute their nonnegative intersection and subtract it once from the sum of durations for uniqueDuration.
When to use this tool
Use GCP Delegation Overlap Credit when you need an explicit clinical-trial record-duration or overlap calculation.
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, uniqueDuration. Use the output convention below.
Require both delegation intervals to be ordered. Compute their nonnegative intersection and subtract it once from the sum of durations for uniqueDuration.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| firstStart | First Start | Required. Safe integer. |
| firstEnd | First End | Required. Safe integer. |
| secondStart | Second Start | Required. Safe integer. |
| secondEnd | Second End | Required. Safe integer. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| overlap | Overlap | Required. Safe integer. |
| uniqueDuration | Unique Duration | Required. Safe integer. |
{
"input": {
"firstStart": 0,
"firstEnd": 10,
"secondStart": 5,
"secondEnd": 15
},
"output": {
"overlap": 5,
"uniqueDuration": 15
}
} Limitations and assumptions
- Times share units and a numeric origin. Interval union length does not verify that a delegation was authorized, applicable to the same role, or effective for actual work.
- 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
- Delegation Period Overlap Share
Return overlap duration and overlap divided by the activity duration.
- GCP Monitoring Action Owner Overlap Gap
Return exact owner-ID equality, interval-overlap duration clamped at zero, and the uncovered gap clamped at zero.