Skip to content

Main content

Environmental Sample Holding Time Explicit Gap Tool

Calculate environmental sample holding time explicit gap from explicit caller-supplied inputs.

Loading tool…

Description

Return remainingHours = callerLimitHours-elapsedHours and exceeded = elapsedHours > callerLimitHours.

A threshold comparison needs compatible units, a direction and boundary rules. A caller-provided limit or reporting bound is an input to the calculation; it does not establish which scientific, analytical or legal rule applies.

Return remainingHours = callerLimitHours-elapsedHours and exceeded = elapsedHours > callerLimitHours.

When to use this tool

Use Environmental Sample Holding Time Explicit Gap when comparing a supplied value, bound or elapsed time with an explicit reference.

How to use the tool and how it works

  1. Enter elapsedHours, callerLimitHours. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read remainingHours, exceeded. Inspect exceeded before interpreting the associated values.

Require nonnegative elapsedHours and callerLimitHours. Return remainingHours = callerLimitHours-elapsedHours and exceeded = elapsedHours > callerLimitHours. Equality gives zero remaining time and exceeded = false.1

Input fieldMeaning and unitsAccepted input
elapsedHoursElapsed HoursRequired. Finite number; minimum 0.
callerLimitHoursCaller Limit HoursRequired. Finite number; minimum 0.
Output fieldInterpretationReturned shape
remainingHoursRemaining HoursRequired. Finite number.
exceededExceededRequired. Boolean.
json
{
  "input": {
    "elapsedHours": 20,
    "callerLimitHours": 24
  },
  "output": {
    "remainingHours": 4,
    "exceeded": false
  }
}

Limitations and assumptions

  • The limit is supplied by the caller, not selected from a laboratory method or regulation. Sample matrix, preservation, collection time and analytical holding-time rules must be checked separately.
  • 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 applicable method or authoritative policy to establish the reference, especially for censored measurements and compliance decisions.

References

  1. Calculation and input contract: environmental-science/environmental-sample-holding-time-explicit-gap — tool.io

Similar or alternative tools