bus-date-arith: Business unit date arithmetic

bus-date-arithR Documentation

Business unit date arithmetic

Description

Given a vector of dates, add or subtract business date units from it: days, weeks, months, or years.

Usage

addBusinessDays(dates, n)

subBusinessDays(dates, n)

addBusinessWeeks(dates, n)

subBusinessWeeks(dates, n)

addBusinessMonths(dates, n)

subBusinessMonths(dates, n)

addBusinessYears(dates, n)

subBusinessYears(dates, n)

Arguments

dates

Vector of Date objects

n

Number ov days, weeks, months, or years to either add or subtract (integer)


pteetor/tutils documentation built on March 29, 2025, 6:38 p.m.