Appearance
Documentation / @kizami/leave / calculateStatutoryGrants
Function: calculateStatutoryGrants()
calculateStatutoryGrants(
hireDate,asOf,method,fixedDateMmDd?,grantClass?):CalculatedGrant[]
Defined in: statutory.ts:77
付与予定を計算する。
Parameters
hireDate
string
入社日 "YYYY-MM-DD"
asOf
string
この日までに到来した付与だけを返す(当日を含む)
method
付与方式
fixedDateMmDd?
string
method が fixed_date のときの基準日 "MM-DD"
grantClass?
LeaveGrantClass = "full"
付与区分(既定 full = 通常の付与)。比例付与の判断は呼び出し側が持つ