Function reference
-
timeDate-package
- Utilities and tools package
-
timeDate-class
- Class "timeDate"
-
timeDate()
strptimeDate()
- Create 'timeDate' objects from scratch
-
timeSequence()
seq(<timeDate>)
- Regularly spaced 'timeDate' objects
-
timeCalendar()
- 'timeDate' from calendar atoms
-
as.character(<timeDate>)
as.double(<timeDate>)
as.data.frame(<timeDate>)
as.POSIXct(<timeDate>)
as.POSIXlt(<timeDate>)
as.Date(<timeDate>)
as.timeDate(<default>)
as.timeDate(<POSIXt>)
as.timeDate(<Date>)
as.timeDate(<timeDate>)
- Coercion from/to 'timeDate'
-
Ops(<timeDate>,<timeDate>)
- Mathematical operations with 'timeDate' objects
-
difftimeDate()
- Difference of two 'timeDate' objects
-
Sys.timeDate()
- System time as 'timeDate' object
-
sample
sample,timeDate-method
- Resampling 'timeDate' objects
-
isDaily(<timeDate>)
isMonthly(<timeDate>)
isQuarterly(<timeDate>)
isRegular(<timeDate>)
frequency(<timeDate>)
- Checks if a date/time vector is regular
-
blockStart()
blockEnd()
- Equally sized 'timeDate' blocks
-
midnightStandard()
midnightStandard2()
- Midnight standard
-
whichFormat()
- Format recognation
-
skewness()
- Skewness
-
kurtosis()
- Kurtosis
-
finCenter(<timeDate>)
`finCenter<-`(<timeDate>)
- Financial Center of a timeDate object
-
listFinCenter()
- List of financial centers
-
rulesFinCenter()
- Financial centers DST rules
-
.endpoints()
- Endpoints indexes
-
c(<timeDate>)
- Concatenating 'timeDate' objects
-
diff(<timeDate>)
- Lagged 'timeDate' differences
-
length(<timeDate>)
- Length of a 'timeDate' object
-
rep(<timeDate>)
- Replicating 'timeDate' objects
-
rev(<timeDate>)
- Reverse 'timeDate' objects
-
round(<timeDate>)
trunc(<timeDate>)
- Rounding and truncating 'timeDate' objects
-
sort(<timeDate>)
- Sorting 'timeDate' objects
-
start(<timeDate>)
end(<timeDate>)
min(<timeDate>)
max(<timeDate>)
range(<timeDate>)
- Terminal times and range
-
subset
[,timeDate,missing,missing-method
[,timeDate,numeric,missing-method
[,timeDate,logical,missing-method
[,timeDate,character,missing-method
[,timeDate,ANY,missing-method
[
- Subsetting a 'timeDate' object
-
unique(<timeDate>)
- Remove duplicated dates from 'timeDate' objects
-
align(<timeDate>)
alignDaily()
alignMonthly()
alignQuarterly()
- Align a 'timeDate' object to regular date/time stamps
-
window(<timeDate>)
cut(<timeDate>)
- Time windows
-
plot(<timeDate>)
lines(<timeDate>)
points(<timeDate>)
axis.timeDate()
pretty(<timeDate>)
- Plot methods
-
names(<timeDate>)
`names<-`(<timeDate>)
- The names of a 'timeDate' object
-
show-methods
show,ANY-method
show,timeDate-method
show.timeDate
- Show methods
-
format(<timeDate>)
- Format methods
-
summary(<timeDate>)
- Summary method
-
is.na-methods
is.na,timeDate-method
- Methods for 'is.na'
-
julian(<timeDate>)
atoms(<timeDate>)
months(<timeDate>)
- Julian counts and calendar atoms
-
dayOfWeek()
- Day of the week
-
dayOfYear()
- Day of the year
-
timeFirstDayInMonth()
timeLastDayInMonth()
timeFirstDayInQuarter()
timeLastDayInQuarter()
- First and last days
-
isBizday()
isHoliday()
- Check if dates are business or holidays
-
isWeekday()
isWeekend()
- Weekdays and weekends
-
timeNthNdayInMonth()
timeLastNdayInMonth()
- n-th n-day dates
-
timeNdayOnOrAfter()
timeNdayOnOrBefore()
- On-or-after/before dates
-
periods()
periodicallyRolling()
monthlyRolling()
- Rolling periods
Rmetrics Options
Values available from getRmetricsOptions(). Some of them can be set with setRmetricsOptions()
-
setRmetricsOptions()
getRmetricsOption()
- Rmetrics option settings
-
currentYear
- Current year
-
myUnits
- Frequency of date/time units
-
myFinCenter
- myFinCenter variable
-
holiday()
- Holiday dates
-
listHolidays()
- List of holidays
-
holidayLONDON()
- London Bank Holidays
-
holidayNERC()
- NERC holiday calendar
-
holidayNYSE()
- NYSE holiday calendar
-
holidayTSX()
- TSX holiday calendar
-
holidayZURICH()
- Zurich holiday calendar
-
earlyCloseNYSE()
- Early closings of the New York Stock exchange
-
specialHolidayGB()
- Dates of special one-off holidays in the UK
-
Easter()
- Date of Easter
-
Septuagesima()
Quinquagesima()
AshWednesday()
PalmSunday()
GoodFriday()
EasterSunday()
EasterMonday()
RogationSunday()
Ascension()
Pentecost()
PentecostMonday()
TrinitySunday()
CorpusChristi()
ChristTheKing()
Advent1st()
Advent2nd()
Advent3rd()
Advent4th()
ChristmasEve()
ChristmasDay()
BoxingDay()
NewYearsDay()
SolemnityOfMary()
Epiphany()
PresentationOfLord()
Annunciation()
TransfigurationOfLord()
AssumptionOfMary()
BirthOfVirginMary()
CelebrationOfHolyCross()
MassOfArchangels()
AllSaints()
AllSouls()
LaborDay()
CHBerchtoldsDay()
CHSechselaeuten()
CHAscension()
CHConfederationDay()
CHKnabenschiessen()
GBMayDay()
GBEarlyMayBankHoliday()
GBBankHoliday()
GBSpringBankHoliday()
GBSummerBankHoliday()
GBMilleniumDay()
DEAscension()
DECorpusChristi()
DEGermanUnity()
DEChristmasEve()
DENewYearsEve()
FRFetDeLaVictoire1945()
FRAscension()
FRBastilleDay()
FRAssumptionVirginMary()
FRAllSaints()
FRArmisticeDay()
ITEpiphany()
ITLiberationDay()
ITAssumptionOfVirginMary()
ITAllSaints()
ITStAmrose()
ITImmaculateConception()
USDecorationMemorialDay()
USPresidentsDay()
USNewYearsDay()
USInaugurationDay()
USMLKingsBirthday()
USLincolnsBirthday()
USWashingtonsBirthday()
USMemorialDay()
USIndependenceDay()
USLaborDay()
USColumbusDay()
USElectionDay()
USVeteransDay()
USThanksgivingDay()
USChristmasDay()
USCPulaskisBirthday()
USGoodFriday()
USJuneteenthNationalIndependenceDay()
CAVictoriaDay()
CACanadaDay()
CACivicProvincialHoliday()
CALabourDay()
CAThanksgivingDay()
CaRemembranceDay()
JPVernalEquinox()
JPNewYearsDay()
JPGantan()
JPBankHolidayJan2()
JPBankHolidayJan3()
JPComingOfAgeDay()
JPSeijinNoHi()
JPNatFoundationDay()
JPKenkokuKinenNoHi()
JPGreeneryDay()
JPMidoriNoHi()
JPConstitutionDay()
JPKenpouKinenBi()
JPNationHoliday()
JPKokuminNoKyujitu()
JPChildrensDay()
JPKodomoNoHi()
JPMarineDay()
JPUmiNoHi()
JPRespectForTheAgedDay()
JPKeirouNOhi()
JPMountainDay()
JPAutumnalEquinox()
JPShuubunNoHi()
JPHealthandSportsDay()
JPTaiikuNoHi()
JPNationalCultureDay()
JPBunkaNoHi()
JPThanksgivingDay()
JPKinrouKanshaNoHi()
JPEmperorsBirthday()
JPTennouTanjyouBi()
JPBankHolidayDec31()
- Public and ecclesiastical holidays
-
DaylightSavingTime
Abidjan
Accra
Adak
Addis_Ababa
Adelaide
Aden
Algiers
Almaty
Amman
Amsterdam
Anadyr
Anchorage
Andorra
Anguilla
Antananarivo
Antigua
Apia
Aqtau
Aqtobe
Araguaina
Aruba
Ashgabat
Asmara
Asuncion
Athens
Atikokan
Auckland
Azores
Baghdad
Bahia
Bahrain
Baku
Bamako
Bangkok
Bangui
Banjul
Barbados
Beirut
Belem
Belgrade
Belize
Berlin
Bermuda
Bishkek
Bissau
Blanc-Sablon
Blantyre
Boa_Vista
Bogota
Boise
Bratislava
Brazzaville
Brisbane
Broken_Hill
Brunei
Brussels
Bucharest
Budapest
Buenos_Aires
BuenosAires
Bujumbura
Cairo
Calcutta
Cambridge_Bay
Campo_Grande
Canary
Cancun
Cape_Verde
Caracas
Casablanca
Casey
Catamarca
Cayenne
Cayman
Center
Ceuta
Chagos
Chatham
Chicago
Chihuahua
Chisinau
Choibalsan
Chongqing
Christmas
Cocos
Colombo
Comoro
Conakry
Copenhagen
Cordoba
Costa_Rica
Cuiaba
Curacao
Currie
Dakar
Damascus
Danmarkshavn
Dar_es_Salaam
Darwin
Davis
Dawson
Dawson_Creek
Denver
Detroit
Dhaka
Dili
Djibouti
Dominica
Douala
Dubai
Dublin
DumontDUrville
Dushanbe
Eastern
Edmonton
Efate
Eirunepe
El_Aaiun
El_Salvador
Enderbury
Eucla
Fakaofo
Faroe
Fiji
Fortaleza
Frankfurt
Freetown
Funafuti
Gaborone
Galapagos
Gambier
Gaza
Gibraltar
Glace_Bay
Godthab
Goose_Bay
Grand_Turk
Grenada
Guadalcanal
Guadeloupe
Guam
Guatemala
Guayaquil
Guernsey
Guyana
Halifax
Harare
Harbin
Havana
Helsinki
Hermosillo
Hobart
Hong_Kong
HongKong
Honolulu
Hovd
Indianapolis
Inuvik
Iqaluit
Irkutsk
Isle_of_Man
Istanbul
Jakarta
Jamaica
Jayapura
Jersey
Jerusalem
Johannesburg
Johnston
Jujuy
Juneau
Kabul
Kaliningrad
Kamchatka
Kampala
Karachi
Kashgar
Katmandu
Kerguelen
Khartoum
Kiev
Kigali
Kinshasa
Kiritimati
Knox
Kosrae
Krasnoyarsk
Kuala_Lumpur
KualaLumpur
Kuching
Kuwait
Kwajalein
La_Paz
La_Rioja
Lagos
Libreville
Lima
Lindeman
Lisbon
Ljubljana
Lome
London
Longyearbyen
Lord_Howe
Los_Angeles
LosAngeles
Louisville
Luanda
Lubumbashi
Lusaka
Luxembourg
Macau
Maceio
Madeira
Madrid
Magadan
Mahe
Majuro
Makassar
Malabo
Maldives
Malta
Managua
Manaus
Manila
Maputo
Marengo
Mariehamn
Marigot
Marquesas
Martinique
Maseru
Mauritius
Mawson
Mayotte
Mazatlan
Mbabane
McMurdo
Melbourne
Mendoza
Menominee
Merida
Mexico_City
MexicoCity
Midway
Minsk
Miquelon
Mogadishu
Monaco
Moncton
Monrovia
Monterrey
Montevideo
Monticello
Montreal
Montserrat
Moscow
Muscat
Nairobi
Nassau
Nauru
Ndjamena
New_Salem
New_York
NewYork
Niamey
Nicosia
Nipigon
Niue
Nome
Norfolk
Noronha
Nouakchott
Noumea
Novosibirsk
Omsk
Oral
Oslo
Ouagadougou
Pacific
Pago_Pago
Palau
Palmer
Panama
Pangnirtung
Paramaribo
Paris
Perth
Petersburg
Phnom_Penh
Phoenix
Pitcairn
Podgorica
Ponape
Pontianak
Port_Moresby
Port_of_Spain
Port-au-Prince
Porto_Velho
Porto-Novo
Prague
Puerto_Rico
Pyongyang
Qatar
Qyzylorda
Rainy_River
Rangoon
Rankin_Inlet
Rarotonga
Recife
Regina
Resolute
Reunion
Reykjavik
Riga
Rio_Branco
Rio_Gallegos
Riyadh
Rome
Rothera
Saigon
Saipan
Sakhalin
Samara
Samarkand
San_Juan
San_Marino
Santiago
Santo_Domingo
Sao_Paulo
Sao_Tome
Sarajevo
Scoresbysund
Seoul
Shanghai
Shiprock
Simferopol
Singapore
Skopje
Sofia
South_Georgia
South_Pole
St_Barthelemy
St_Helena
St_Johns
St_Kitts
St_Lucia
St_Thomas
St_Vincent
Stanley
Stockholm
Swift_Current
Sydney
Syowa
Tahiti
Taipei
Tallinn
Tarawa
Tashkent
Tbilisi
Tegucigalpa
Tehran
Tell_City
Thimphu
Thule
Thunder_Bay
Tijuana
Tirane
Tokyo
Tongatapu
Toronto
Tortola
Tripoli
Truk
Tucuman
Tunis
Ulaanbaatar
Urumqi
Ushuaia
Uzhgorod
Vaduz
Vancouver
Vatican
Vevay
Vienna
Vientiane
Vilnius
Vincennes
Vladivostok
Volgograd
Vostok
Wake
Wallis
Warsaw
Whitehorse
Winamac
Windhoek
Winnipeg
Yakutat
Yakutsk
Yekaterinburg
Yellowknife
Yerevan
Zagreb
Zaporozhye
Zurich
AST
CET
CST
EET
EST
MST
PST
- Daylight Saving Time Rules