Leave Day Calculation
Summary
Leave days are calculated from an inclusive requested date range, with policy-controlled calendar exclusions.
Audience
Employees, Leave/HR/Payroll administrators, analysts, product owners, QA, and implementers.
Overview
Without exclusion rules, the calculator counts every calendar date inclusively. Holiday and weekly-off exclusions are opt-in policy behavior. Half day applies only when the effective count is one day. The Leave type's half-day eligibility flag is not checked by the confirmed workflow. No rounding, hours conversion, regional calendar, or unapproved numeric threshold is documented.
Source References
microservices/src/leave-service/Domain/Leave/LeaveDayCalculator.csmicroservices/src/leave-service/Application/LeaveWorkflows.csmicroservices/src/leave-service/Domain/Leave/LeaveConfig.cs
Related Articles
See Also
Keywords
- Leave
- Leave Day Calculation
- Workforce management
Revision Information
- Status: Draft
- Last reviewed: 2026-07-15
- Review cycle: Quarterly