GetWorkingDays: GetWorkingDays

View source: R/GetWorkingDays.R

GetWorkingDaysR Documentation

GetWorkingDays

Description

Gets Working Days

Usage

GetWorkingDays(Time, HolidaysTime,	GermanBridgeDay=TRUE)

Arguments

Time

[1:n] vector of as.Date objects

HolidaysTime

You may put you own holiday definiton as a vector of as.Date objects, or nothing than german holidays are used

GermanBridgeDay

TRUE: includes german bridge days of TSAT::GermanHolidays object, only valid if HolidaysTime is missing

Details

in German-speaking countries: day between a weekend and a statutory holiday which many employees like to take off to make their 'weekend' last four instead of two days.

Value

[1:n,1:4] Dataframe with Year, Month, WorkinDays and Time as columns

Note

HolidaysTime=as.Date('1970-01-01') will calculate working days without holidays

Author(s)

Michael Thrun

See Also

GermanHolidays

Examples

#ToDo

Mthrun/TSAT documentation built on Feb. 5, 2024, 11:15 p.m.