Description
Return heldMinutes, suppliedLimit-heldMinutes, and an inclusive withinLimit flag.
A food-service record can compare holding duration with a supplied limit. Duration alone does not establish safe storage or serving because actual conditions and applicable controls remain outside that comparison.
Return heldMinutes, suppliedLimit-heldMinutes, and an inclusive withinLimit flag.
When to use this tool
Use Breakfast Service Batch Hold Time Gap when you need to compare a recorded service interval with an explicitly supplied time allowance.
How to use the tool and how it works
- Enter preparedMinute, servedMinute, suppliedLimit. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read heldMinutes, remainingMinutes, withinLimit. Inspect withinLimit before interpreting the associated values.
Require servedMinute no earlier than preparedMinute and nonnegative suppliedLimit. Return heldMinutes, suppliedLimit-heldMinutes, and an inclusive withinLimit flag.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| preparedMinute | Prepared Minute | Required. Finite number. |
| servedMinute | Served Minute | Required. Finite number. |
| suppliedLimit | Supplied Limit | Required. Finite number; minimum 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| heldMinutes | Held Minutes | Required. Finite number. |
| remainingMinutes | Remaining Minutes | Required. Finite number. |
| withinLimit | Within Limit | Required. Boolean. |
{
"input": {
"preparedMinute": 30,
"servedMinute": 75,
"suppliedLimit": 60
},
"output": {
"heldMinutes": 45,
"remainingMinutes": 15,
"withinLimit": true
}
} Limitations and assumptions
- Times share a minute coordinate; the limit is supplied and the tool does not evaluate food temperature, pathogen risk, applicable food-safety rules, or suitability for serving.
- 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 complete food-safety process and appropriate professional guidance for actual serving or storage decisions.
References
Similar or alternative tools
- Event Seat Turnover Window Gap
Subtract previousEnd from nextStart for availableDuration, add nonnegative cleaningDuration and resetDuration for requiredDuration, and return their difference as slack.
- Hospital Pharmacy Cold Chain Record Gap
Return adjacent gaps, indexes whose gap strictly exceeds the maximum, and longestGap or zero for one record.