TimeDateFinCenter         package:fCalendar         R Documentation

_t_i_m_e_D_a_t_e _F_i_n_a_n_c_i_a_l _C_e_n_t_e_r_s

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

     A collection and description of functions to use  financial
     centers in contex with timeDate objects. 

     The functions for Financial Centers are:

       'rulesFinCenter'  Returns DST rules for a financial center,
       'listFinCenter'   Lists all supported financial centers.

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

     myFinCenter

     rulesFinCenter(FinCenter = myFinCenter)
     listFinCenter(pattern = ".*")

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

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

 pattern: a pattern character string as required by the 'grep'
          function. 

_D_e_t_a_i_l_s:

     *Financial Centers* 

      There are two functions concerned with the financial centers. The
     first, 'rulesFinCenter', lists the daylight saving rules for a
     selected financial center, and the second, 'listFinCenter', lists
     all centers available in the database. There is no dependency on
     the POSIX implementation of your operating system because all time
     zone and day light saving time information is stored locally in
     ASCII files. It is important to say, that the 'TZ' environment
     variable must set to '"GMT"' in your system environment that there
     are no conflicts with the POSIX time zone management.

     Through the definition of financial centers it becomes possible to
     introduce in the future a specification structure for financial
     centers, which includes further information for a center like
     holiday calendars, currency and interest rate conventions or many
     others.

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

     'rulesFinCenter' 
      returns a printed list of DST rules. 

     'listFinCenter' 
      returns a list of time zones available in the database.

_A_u_t_h_o_r(_s):

     Diethelm Wuertz for the Rmetrics R-port; some improvements: 
     Martin Maechler.

_S_e_e _A_l_s_o:

     'timeDateCoercion', 'timeDateSpecDates'

     We also recommend to inspect the help pages for the POSIX time and
      date class, 'Dates', and the help pages from the contributed  R
     packages 'chron' and 'date'.

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

     ## myFinCenter - the global setting currently used:
        myFinCenter

     ## Other Financial Centers:
        listFinCenter("Asia/")
        listFinCenter("^A") # all beginning with "A"
        listFinCenter("^[^A]") # all *not* beginning with "A"
        listFinCenter(".*/L")  # cities with L*

        stopifnot(identical(listFinCenter(), ## 'A' and 'not A' == everything:
             union(listFinCenter("^A"),
                 listFinCenter("^[^A]"))))

