Description
Return extended due date coordinate, elapsed loan duration, and positive overdue duration.
Laboratory intervals can describe expiry, retention, sample return, or correction timing. Exact dates and uncertain date ranges have different boundary meanings; numeric interval arithmetic does not establish a regulatory retention or expiry policy.
Return extended due date coordinate, elapsed loan duration, and positive overdue duration.
When to use this tool
Use GLP Archive Loan Return Window Gap when you need a laboratory duration or interval comparison under an explicit timing rule.
How to use the tool and how it works
- Enter loanDay, expectedReturn, actualReturn, returned, today, extension. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read effectiveDue, elapsed, overdue. Use the output convention below.
Require nonnegative integer extension, expectedReturn no earlier than loanDay, and the selected actualReturn or today no earlier than loanDay. Return extended due date coordinate, elapsed loan duration, and positive overdue duration.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| loanDay | Loan Day | Required. Safe integer. |
| expectedReturn | Expected Return | Required. Safe integer. |
| actualReturn | Actual Return | Required. Safe integer. |
| returned | Returned | Required. Boolean. |
| today | Today | Required. Safe integer. |
| extension | Extension | Required. Safe integer; minimum 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| effectiveDue | Effective Due | Required. Safe integer. |
| elapsed | Elapsed | Required. Safe integer. |
| overdue | Overdue | Required. Safe integer. |
{
"input": {
"loanDay": 100,
"expectedReturn": 110,
"actualReturn": 115,
"returned": true,
"today": 120,
"extension": 2
},
"output": {
"effectiveDue": 112,
"elapsed": 15,
"overdue": 3
}
} Limitations and assumptions
- Only the selected endpoint is used for elapsed validation; this does not parse dates, establish a lawful archive-loan extension, or confirm actual return and custody.
- 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
Consult the controlled study and retention procedures for the applicable time convention. Authenticate the source dates and resolve uncertain endpoints before making a disposition decision.
References
Similar or alternative tools
- GLP Reagent Expiry Precision
Mark definitelyBeforeExpiry only below the lower bound, definitelyAfterExpiry only above the upper bound, and ambiguous at either bound and throughout the interval.
- GLP Study Phase Duration Clock Pause
Return full calendar duration, elapsed minus suspension, and elapsed plus reporting lag.