年5日取得義務の充足判定
check_mandatory_five_daysDetermines if an employee is subject to Japan's mandatory five-day paid leave rule, checks compliance, and calculates remaining required days based on input data.
Instructions
年10日以上の年次有給休暇が付与される労働者を対象とする、年5日取得義務(労働基準法第39条第7項・第8項)の対象者判定と、充足状況・残り必要日数を返します。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asOfDate | No | 判定基準日(任意。省略可) (YYYY-MM-DD形式、例: 2026-08-15) | |
| grantDate | Yes | 付与日(基準日) (YYYY-MM-DD形式、例: 2026-08-15) | |
| grantedDays | Yes | その基準日に付与された年次有給休暇の日数 | |
| plannedGrantDays | No | 計画年休制度により取得させた日数(5日から控除できる) | |
| employeeRequestedDays | No | 労働者自らの請求・取得により取得した日数(5日から控除できる) | |
| employerDesignatedDays | No | 使用者が既に時季指定して取得させた日数 |