as                 package:fCalendar                 R Documentation

_A_n_y _t_o '_t_i_m_e_D_a_t_e' _C_o_e_r_c_i_o_n

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

     Coerce other time date representations into an object of class
     'timeDate'.

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

     ## S3 method for class 'timeDate':
     as.character(x, ...)

     ## S3 method for class 'timeDate':
     as.double(x, 
         units = c("auto", "secs", "mins", "hours", "days", "weeks"), ...)
     ## S3 method for class 'timeDate':
     as.data.frame(x, ...)

     ## S3 method for class 'timeDate':
     as.POSIXct(x, tz = "", ...)

     ## S3 method for class 'timeDate':
     as.POSIXlt(x, tz = "")

     ## S3 method for class 'timeDate':
     as.Date(x, method = c("trunc", "round", "next"), ...)

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

       x: an object of class 'timeDate'. 

   units: a character string denoting the date/time units in which the 
          results are desired. 

      tz: inputs the time zone to POSIX objects, i.e. the time zone, 
          'zone', or financial center string, 'FinCenter',  as used by
          'timeDate' objects. 

  method: a character string denoting the method how to determine the
          dates. 

     ...: arguments passed to other methods. 

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

     return an object of class 'timeDate'.

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

     ## as.character -
        # Convert 'timeDate' to a character strings:
        as.character(timeCalendar())

