julian               package:fCalendar               R Documentation

_J_u_l_i_a_n _C_o_u_n_t_s _a_n_d _C_a_l_e_n_d_a_r _A_t_o_m_s

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

     Returns Julian day counts, date/time atoms from a 'timeDate'
     object,  and extracts month atoms from a 'timeDate' object.

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

     ## S3 method for class 'timeDate':
     julian(x, origin = timeDate("1970-01-01"), 
         units = c("auto", "secs", "mins", "hours", "days", "weeks"), 
         zone = NULL, FinCenter = NULL, ...)

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

     ## S3 method for class 'timeDate':
     months(x, abbreviate = NULL)

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

       x: an object of class 'timeDate'. 

  origin: a length-one object inheriting from class '"timeDate"'
          setting the origin for the julian counter. 

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

    zone: the time zone or financial center where the data were
          recorded. 

FinCenter: a character with the the location of the   financial center
          named as "continent/city".  

abbreviate: currently not used. 

     ...: arguments passed to other methods. 

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

     'julian'  returns a 'timeDate' object as a Julian count.

     'atoms' and 'months' extrac from a 'timeDate' object the calendar
     atoms, i.e. the year, month, day, and optionally hour, minute and
     second.

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

     ## julian -
        tC = timeCalendar()
        julian(tC)[1:3]
        
     ## atoms -
        atoms(tC)
        
     ## months -
        months(tC)

