Rest Between Shifts and Continuous Duty
Check rest and the longest continuous interval across two shifts, and calculate the next start time that provides the specified rest
Calculations use Japan time and minute precision. Breaks and naps within shifts are not deducted. Rest-completion time and start delay are arithmetic estimates under the specified condition, not assessments of regulatory compliance.
Results
—
- Difference from specified rest (+ excess / − shortfall)
- —
- Longest continuous duty interval
- —
- Previous shift duration
- —
- Next shift duration
- —
- Total duration of both shifts
- —
- Time the specified rest interval ends
- —
- Required delay to the next shift start
- —
Results update automatically when the required values are entered.
Method, applicability and sources
Calculation method
Intershift interval (min) = next shift start − previous shift end. Shift duration = end − start. Longest continuous interval is the sum of both durations when the interval is zero; otherwise it is the longer shift duration. Difference from specified rest = intershift interval − specified rest. Rest-completion time = previous shift end + specified rest. Required start delay = max(0, specified rest − intershift interval). All calculations use Asia/Tokyo with minute precision. Dates are not corrected automatically.
Worked example (hypothetical values)
Previous shift November 10 at 20:00 to November 11 at 08:00; next shift November 11 at 19:30 to November 12 at 07:30; specified rest 660 min. Each shift is 12 hours. The interval is 11 hours 30 min (690 min), 30 min beyond the requirement. Longest continuous interval is 12 hours; total duty duration is 24 hours. Rest ends November 11 at 19:00; required start delay is 0 min.
Applicability and limitations
Arithmetic checks of anonymous planned or completed pairs of shifts with known start and end times in Japan time. Does not account for breaks or naps within shifts, standby or call-ins, an unentered third shift, combined hours across workplaces, or compensatory rest. Does not determine compliance with employment rules or physician exceptions, fitness to work, or staffing approval.
Method and sources
Method: Half-open intervals [start, end), minute precision, and rest-completion time; v2 (November 13, 2026, direct arithmetic). Data recorded: 2026-11-13.