getLeaveHours: Compute Leave Hours

View source: R/employee_fun_getLeaveHours.R

getLeaveHoursR Documentation

Compute Leave Hours

Description

Calculates the authorized leave hours of an employee based on the date of the start of employment and a year to be budgeted. This is only applicable to regular employees.

Usage

getLeaveHours(cBegin, cEnd = NA, year, status)

Arguments

cBegin

character string defining the date wherein the employment contract of the employee began

The accepted format is "yyyy-mm-dd".

cEnd

character string defining the date wherein the employment contract of the employee will end

The accepted format is "yyyy-mm-dd".

year

numeric value representing the year to be computed

status

character string representing the employment status of the employee

See validEmpStatus for accepted values.

Value

integer value


basilrabi/mansched documentation built on May 18, 2023, 1:29 p.m.