Checks whether business day conventions are valid.
is_valid_bdc(bdc)
bdc | a character vector |
---|
a flag (TRUE
or FALSE
) if all the supplied business
day conventions are supported.
The supported day conventions are:
u - unadjusted. No adjustments made to a date.
f - following. The date is adjusted to the following business day.
mf - modified following. As per following convention. However, if the following business day is in the month following the date, then the date is adjusted to the preceding business day.
p - preceding. The date is adjusted to the preceding business day.
mp - modified preceding. As per preceding convention. However, if the preceding business day is in the month prior to the date, then the date is adjusted to the following business day.
ms - modified succeeding. This convention applies to Australian bank bills. Australian bank bills' maturities defined as either early (prior to the 15th) or late month (after the 15th). If the maturity date calculated straight from a bill's term crosses either the end of the month or the 15th of the month, the bill's maturity is adjusted to the preceding business day.