dateFuntions: Date accessor and construction functions from Boost Date_Time

Description Usage Arguments Details Value Author(s) References

Description

This constants are provided for convenience. In the C++ sources, enumeration types are used for days of the week, months of the year as well as the ordering terms.

Similar package-level constants are provided here as well. This should be considered as experimental and may be withdrawn in a later version of the package.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13

Arguments

date

a Date object

mon

a month, specified either as an integer or one of the constants Jan, Feb, ... defined in this package

year

a four-digit year, specified as an integer

nthday

either an integer between 1 and 5, or one of the constants first, second, ... fifth defined in this package.

dow

either an integer between 0 and 6 denoting a day of the week, or one of the constants Sun, Mon, ... Sat defined in this package.

Details

Details of the Boost functions are provided by the Boost documentation.

Value

All functions return a Date object.

Author(s)

Dirk Eddelbuettel edd@debian.org

References

Boost Date_Time: http://www.boost.org/doc/html/date_time.html


RcppBDT documentation built on May 2, 2019, 6:13 a.m.