The expressions above read these as $const. They are the figures the annual refresh replaces, so they live as data rather than being written into the formulas — which is what makes a year-on-year change a one-line diff instead of an edit to arithmetic.
Constant
Value
statutoryWerktage
30
longServiceWerktage
36
longServiceYears
25
statutoryBasisDays
6
fullEntitlementMonths
6
Test vectors (9)
Every case is executed against this model on each build, by the Java engine and independently by a JavaScript one. A mismatch of a single cent fails the build, so the page cannot ship advertising a figure the model no longer produces.
Case 1 — G1 five-day week, past the first year: 25 Arbeitstage — USP's own figure
given daysPerWeek
5
given serviceYears
3
given leaveYearStart
2026-01-01
given leaveYearEnd
2026-12-31
given workStart
2026-01-01
given workEnd
2026-12-31
given daysTaken
0
expect werktageEntitled
30
expect weeksEntitled
5
expect daysEntitled
25
Case 2 — G2 six-day week: the statute's own 30 Werktage — USP's second figure
given daysPerWeek
6
given serviceYears
3
given leaveYearStart
2026-01-01
given leaveYearEnd
2026-12-31
given workStart
2026-01-01
given workEnd
2026-12-31
given daysTaken
0
expect daysEntitled
30
Case 3 — G3 25 years' service on a five-day week: 30 Arbeitstage — USP's third figure
given daysPerWeek
5
given serviceYears
25
given leaveYearStart
2026-01-01
given leaveYearEnd
2026-12-31
given workStart
2026-01-01
given workEnd
2026-12-31
given daysTaken
0
expect werktageEntitled
36
expect weeksEntitled
6
expect daysEntitled
30
Case 4 — G4 25 years on a six-day week: 36 Werktage — USP's fourth figure
given daysPerWeek
6
given serviceYears
25
given leaveYearStart
2026-01-01
given leaveYearEnd
2026-12-31
given workStart
2026-01-01
given workEnd
2026-12-31
given daysTaken
0
expect daysEntitled
36
Case 5 — G5 the step is at 25 completed years, so 24 is still 30 Werktage
given daysPerWeek
5
given serviceYears
24
given leaveYearStart
2026-01-01
given leaveYearEnd
2026-12-31
given workStart
2026-01-01
given workEnd
2026-12-31
given daysTaken
0
expect werktageEntitled
30
expect daysEntitled
25
Case 6 — G6 first working year, four months in: § 2(2) pro-rates
given daysPerWeek
5
given serviceYears
0
given leaveYearStart
2026-01-01
given leaveYearEnd
2026-12-31
given workStart
2026-01-01
given workEnd
2026-05-01
given daysTaken
0
expect monthsServed
4
expect daysEntitled
8.3
Case 7 — G7 first working year, seven months in: full entitlement, not seven twelfths
given daysPerWeek
5
given serviceYears
0
given leaveYearStart
2026-01-01
given leaveYearEnd
2026-12-31
given workStart
2026-01-01
given workEnd
2026-08-01
given daysTaken
0
expect monthsServed
7
expect entitlementFraction
1
expect daysEntitled
25
Case 8 — G8 second working year, two months in: all 30 Werktage from day one of it
given daysPerWeek
5
given serviceYears
1
given leaveYearStart
2026-01-01
given leaveYearEnd
2026-12-31
given workStart
2026-01-01
given workEnd
2026-03-01
given daysTaken
0
expect monthsServed
2
expect entitlementFraction
1
expect daysEntitled
25
Case 9 — G9 days already taken come off the remainder, and it never goes negative
The whole model as JSON — inputs, outputs, formulas, vectors and sources in one re-runnable document.
This model is published under CC BY 4.0: use it, adapt it, build on it, with attribution. The licence covers the model — the expression of each rule and the arrangement of the catalog. The rates and thresholds are law, and nobody licenses those; the sources above are where they come from.