isBizday              package:fCalendar              R Documentation

_B_u_s_i_n_e_s_s _a_n_d _H_o_l_i_d_a_y_s

_D_e_s_c_r_i_p_t_i_o_n:

     Tests if a date is a business day or not.

_U_s_a_g_e:

     isBizday(x, holidays = holidayNYSE())
     isHoliday(x, holidays = holidayNYSE())

_A_r_g_u_m_e_n_t_s:

holidays: holiday dates from a holiday calendar. An object of class
          'timeDate'. 

       x: an object of class 'timeDate'. 

_V_a_l_u_e:

     the functions return logical vectors indicating if a date is a 
     business day, or a holiday.

_E_x_a_m_p_l_e_s:

       
     ## Dates in April, currentYear: 
        tS = timeSequence(
           from = paste(currentYear, "-03-01", sep = ""),
           to = paste(currentYear, "-04-30", sep = ""))
        tS
           
     ## Subset Business Days at NYSE:
        holidayNYSE()
        isBizday(tS, holidayNYSE())
        tS[isBizday(tS, holidayNYSE())]

