File: timeDate-listFinCenter.Rd

package info (click to toggle)
r-cran-timedate 3012.100-2
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 2,592 kB
  • ctags: 4
  • sloc: makefile: 13
file content (69 lines) | stat: -rw-r--r-- 1,197 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
\name{listFinCenter}


\title{List of Financial Centers}


\alias{listFinCenter}


\description{

     Lists supported financial centers. 

}


\usage{
listFinCenter(pattern = ".*")
}


\arguments{

    \item{pattern}{
        a pattern character string as required
        by the \code{\link{grep}} function.
        }

}


\value{

    returns a list of supported financial centers.

}


\details{


    The function \code{rulesFinCenter}, lists the daylight saving rules 
    for a selected financial center.
    
    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. 
    
}


\examples{
## myFinCenter - the global setting currently used:
   getRmetricsOptions("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(sort(listFinCenter()), ## 'A' and 'not A' == everything:
        sort(union(listFinCenter("^A"),
            listFinCenter("^[^A]")))))
}


\keyword{chron}