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.
getEndOfBizWeek(date)
getEndOfMonth(date)
getYear(date)
getMonth(date)
getDay(date)
getDayOfWeek(date)
getDayOfYear(date)
getIMMDate(mon, year)
getNthDayOfWeek(nthday, dow, mon, year)
getLastDayOfWeekInMonth(nthday, mon, year)
getFirstDayOfWeekInMonth(nthday, mon, year)
getFirstDayOfWeekAfter(dow, date)
getLastDayOfWeekBefore(dow, date)
a Date
object
a four-digit year, specified as an integer
All functions return a Date
object.
Details of the Boost functions are provided by the Boost documentation.
Boost Date_Time: http://www.boost.org/doc/html/date_time.html