Description
Test each endpoint inclusively or strictly according to its flag.
A time-window check needs explicit endpoints, inclusion rules and a common clock. Caller-supplied holding limits and temperature flags are model inputs; passing a local check does not establish a safe handling process.
Test each endpoint inclusively or strictly according to its flag.
When to use this tool
Use Sample Holding Window Closure Flag when you need an explicit holding-window, clock or sampled-duration calculation.
How to use the tool and how it works
- Enter elapsed, lower, upper, lowerIncluded, upperIncluded. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read withinSuppliedWindow. Inspect withinSuppliedWindow before interpreting the associated values.
Require ordered lower/upper elapsed-time bounds. Test each endpoint inclusively or strictly according to its flag.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| elapsed | Elapsed | Required. Finite number. |
| lower | Lower | Required. Finite number. |
| upper | Upper | Required. Finite number. |
| lowerIncluded | Lower Included | Required. Boolean. |
| upperIncluded | Upper Included | Required. Boolean. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| withinSuppliedWindow | Within Supplied Window | Required. Boolean. |
{
"input": {
"elapsed": 10,
"lower": 0,
"upper": 10,
"lowerIncluded": true,
"upperIncluded": false
},
"output": {
"withinSuppliedWindow": false
}
} Limitations and assumptions
- An equal-bound interval passes only at that value with both ends included. The window is supplied and does not establish sample suitability or an official holding rule.
- 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 applicable validated food-safety procedure and complete temperature/time history. Resolve sensor calibration, sampling gaps and product-specific limits before making handling decisions.
References
Similar or alternative tools
- Food Sample Holding Time Caller Margin
Subtract endpoints, compute limit-minus-elapsed margin and compare inclusively.
- Sample Temperature Duration Window
Return time overlap and an independent inclusive temperature-in-range flag.