Package: timeDate 4041.110
Georgi N. Boshnakov
timeDate: Rmetrics - Chronological and Calendar Objects
The 'timeDate' class fulfils the conventions of the ISO 8601 standard as well as of the ANSI C and POSIX standards. Beyond these standards it provides the "Financial Center" concept which allows to handle data records collected in different time zones and mix them up to have always the proper time stamps with respect to your personal financial center, or alternatively to the GMT reference time. It can thus also handle time stamps from historical data records from the same time zone, even if the financial centers changed day light saving times at different calendar dates.
Authors:
timeDate_4041.110.tar.gz
timeDate_4041.110.tar.gz(r-4.5-noble)timeDate_4041.110.tar.gz(r-4.4-noble)
timeDate_4041.110.tgz(r-4.4-emscripten)timeDate_4041.110.tgz(r-4.3-emscripten)
timeDate.pdf |timeDate.html✨
timeDate/json (API)
NEWS
# Install 'timeDate' in R: |
install.packages('timeDate', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/geobosh/timedatedoc/issues
Pkgdown:https://geobosh.github.io
Last updated 3 months agofrom:a81e582dc3. Checks:OK: 2. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Dec 21 2024 |
R-4.5-linux | OK | Dec 21 2024 |
Exports:.endpointsAbidjanablineAccraAdakAddis_AbabaAdelaideAdenAdvent1stAdvent2ndAdvent3rdAdvent4thAlgiersalignalignDailyalignMonthlyalignQuarterlyAllSaintsAllSoulsAlmatyAmmanAmsterdamAnadyrAnchorageAndorraAnguillaAnnunciationAntananarivoAntiguaApiaAqtauAqtobeAraguainaArubaas.Date.timeDateas.timeDateAscensionAshgabatAshWednesdayAsmaraAssumptionOfMaryASTAsuncionAthensAtikokanatomsAucklandaxis.timeDateAzoresBaghdadBahiaBahrainBakuBamakoBangkokBanguiBanjulBarbadosBeirutBelemBelgradeBelizeBerlinBermudaBirthOfVirginMaryBishkekBissauBlanc-SablonBlantyreblockEndblockStartBoa_VistaBogotaBoiseBoxingDayBratislavaBrazzavilleBrisbaneBroken_HillBruneiBrusselsBucharestBudapestBuenos_AiresBuenosAiresBujumburaCACanadaDayCACivicProvincialHolidayCAFamilyDayCairoCALabourDayCalcuttaCambridge_BayCampo_GrandeCanaryCancunCape_VerdeCaracasCaRemembranceDayCasablancaCaseyCatamarcaCAThanksgivingDayCAVictoriaDayCayenneCaymanCelebrationOfHolyCrossCenterCETCeutaChagosCHAscensionChathamCHBerchtoldsDayCHConfederationDayChicagoChihuahuaChisinauCHKnabenschiessenChoibalsanChongqingChristmasChristmasDayChristmasEveChristTheKingCHSechselaeutenCocosColomboComoroConakryCopenhagenCordobaCorpusChristiCosta_RicaCSTCuiabaCuracaoCurrieDakarDamascusDanmarkshavnDar_es_SalaamDarwinDavisDawsonDawson_CreekdayOfWeekdayOfYearDEAscensionDEChristmasEveDECorpusChristiDEGermanUnityDENewYearsEveDenverDetroitDhakadifftimeDateDiliDjiboutiDominicaDoualaDubaiDublinDumontDUrvilleDushanbeearlyCloseNYSEEasterEasterMondayEasternEasterSundayEdmontonEETEfateEirunepeEl_AaiunEl_SalvadorEnderburyEpiphanyESTEuclaFakaofoFaroeFijifinCenterfinCenter<-FortalezaFRAllSaintsFrankfurtFRArmisticeDayFRAscensionFRAssumptionVirginMaryFRBastilleDayFreetownfrequencyFRFetDeLaVictoire1945FunafutiGaboroneGalapagosGambierGazaGBBankHolidayGBEarlyMayBankHolidayGBMayDayGBMilleniumDayGBSpringBankHolidayGBSummerBankHolidaygetDataPartgetRmetricsOptiongetRmetricsOptionsGibraltarGlace_BayGodthabGoodFridayGoose_BayGrand_TurkGrenadaGuadalcanalGuadeloupeGuamGuatemalaGuayaquilGuernseyGuyanaHalifaxHarareHarbinHavanaHelsinkiHermosilloHobartholidayholidayLONDONholidayNERCholidayNYSEholidayTSXholidayZURICHHong_KongHongKongHonoluluHovdIndianapolisinitializeInternationalWomensDayInuvikIqaluitIrkutskisBizdayisDailyisHolidayIsle_of_ManisMonthlyisQuarterlyisRegularIstanbulisWeekdayisWeekendITAllSaintsITAssumptionOfVirginMaryITEpiphanyITImmaculateConceptionITLiberationDayITStAmroseJakartaJamaicaJayapuraJerseyJerusalemJohannesburgJohnstonJPAutumnalEquinoxJPBankHolidayDec31JPBankHolidayJan2JPBankHolidayJan3JPBunkaNoHiJPChildrensDayJPComingOfAgeDayJPConstitutionDayJPEmperorsBirthdayJPGantanJPGreeneryDayJPHealthandSportsDayJPKeirouNoHiJPKeirouNOhiJPKenkokuKinenNoHiJPKenpouKinenBiJPKinrouKanshaNoHiJPKodomoNoHiJPKokuminNoKyujituJPMarineDayJPMidoriNoHiJPMountainDayJPNatFoundationDayJPNationalCultureDayJPNationHolidayJPNewYearsDayJPRespectForTheAgedDayJPSeijinNoHiJPShuubunNoHiJPTaiikuNoHiJPTennouTanjyouBiJPThanksgivingDayJPUmiNoHiJPVernalEquinoxJujuyJuneauKabulKaliningradKamchatkaKampalaKarachiKashgarKatmanduKerguelenKhartoumKievKigaliKinshasaKiritimatiKnoxKosraeKrasnoyarskKuala_LumpurKualaLumpurKuchingkurtosisKuwaitKwajaleinLa_PazLa_RiojaLaborDayLagosLibrevilleLimaLindemanlinesLisbonlistFinCenterlistHolidaysLjubljanaLomeLondonLongyearbyenLord_HoweLos_AngelesLosAngelesLouisvilleLuandaLubumbashiLusakaLuxembourgMacauMaceioMadeiraMadridMagadanMaheMajuroMakassarMalaboMaldivesMaltaManaguaManausManilaMaputoMarengoMariehamnMarigotMarquesasMartiniqueMaseruMassOfArchangelsMauritiusMawsonMayotteMazatlanMbabaneMcMurdoMelbourneMendozaMenomineeMeridaMexico_CityMexicoCitymidnightStandardmidnightStandard2MidwayMinskMiquelonMogadishuMonacoMonctonMonroviaMonterreyMontevideomonthlyRollingMonticelloMontrealMontserratMoscowMSTMuscatNairobiNassauNauruNdjamenaNew_SalemNew_YorkNewYearsDayNewYorkNiameyNicosiaNipigonNiueNomeNorfolkNoronhaNouakchottNoumeaNovosibirskOmskOpsOralOsloOuagadougouPacificPago_PagoPalauPalmerPalmSundayPanamaPangnirtungParamariboParisPentecostPentecostMondayperiodicallyRollingperiodsPerthPetersburgPhnom_PenhPhoenixPitcairnplotPodgoricapointsPonapePontianakPort_MoresbyPort_of_SpainPort-au-PrincePorto_VelhoPorto-NovoPraguePresentationOfLordPSTPuerto_RicoPyongyangQatarQuinquagesimaQyzylordaRainy_RiverRangoonRankin_InletRarotongaRecifeReginaResoluteReunionReykjavikRigaRio_BrancoRio_GallegosRiyadhRogationSundayRomeRotherarulesFinCenterSaigonSaipanSakhalinSamaraSamarkandsampleSan_JuanSan_MarinoSantiagoSanto_DomingoSao_PauloSao_TomeSarajevoScoresbysundSeoulSeptuagesimasetRmetricsOptionsShanghaiShiprockshowSimferopolSingaporeskewnessSkopjeSofiaSolemnityOfMarySouth_GeorgiaSouth_PolespecialHolidayGBSt_BarthelemySt_HelenaSt_JohnsSt_KittsSt_LuciaSt_ThomasSt_VincentStanleyStockholmstrptimeDateSwift_CurrentSydneySyowaSys.timeDateTahitiTaipeiTallinnTarawaTashkentTbilisiTegucigalpaTehranTell_CityThimphuThuleThunder_BayTijuanatimeCalendartimeDatetimeFirstDayInMonthtimeFirstDayInQuartertimeLastDayInMonthtimeLastDayInQuartertimeLastNdayInMonthtimeNdayOnOrAftertimeNdayOnOrBeforetimeNthNdayInMonthtimeSequenceTiraneTokyoTongatapuTorontoTortolaTransfigurationOfLordTrinitySundayTripoliTrukTucumanTunisUlaanbaatarUrumqiUSChristmasDayUSColumbusDayUSCPulaskisBirthdayUSDecorationMemorialDayUSElectionDayUSGoodFridayUshuaiaUSInaugurationDayUSIndependenceDayUSJuneteenthNationalIndependenceDayUSLaborDayUSLincolnsBirthdayUSMemorialDayUSMLKingsBirthdayUSNewYearsDayUSPresidentsDayUSThanksgivingDayUSVeteransDayUSWashingtonsBirthdayUzhgorodVaduzVancouverVaticanVevayViennaVientianeVilniusVincennesVladivostokVolgogradVostokWakeWallisWarsawwhichFormatWhitehorseWinamacWindhoekWinnipegYakutatYakutskYekaterinburgYellowknifeYerevanZagrebZaporozhyeZurich
Dependencies:
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Utilities and tools package | timeDate-package |
Endpoints indexes | .endpoints |
Align a 'timeDate' object to regular date/time stamps | align align,ANY-method align,timeDate-method alignDaily alignMonthly alignQuarterly |
Equally sized 'timeDate' blocks | blockEnd blockStart |
Concatenating 'timeDate' objects | c c.timeDate |
Coercion from 'timeDate' to other classes | as.character.timeDate as.data.frame.timeDate as.Date.timeDate as.double.timeDate as.list.timeDate as.POSIXct.timeDate as.POSIXlt.timeDate coerce,timeDate,character-method coerce,timeDate,data.frame-method coerce,timeDate,Date-method coerce,timeDate,list-method coerce,timeDate,numeric-method coerce,timeDate,POSIXct-method coerce,timeDate,POSIXlt-method coerceToOther |
Current year | currentYear |
Daylight Saving Time Rules | Abidjan Accra Adak Addis_Ababa Adelaide Aden Algiers Almaty Amman Amsterdam Anadyr Anchorage Andorra Anguilla Antananarivo Antigua Apia Aqtau Aqtobe Araguaina Aruba Ashgabat Asmara AST 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 BuenosAires Buenos_Aires Bujumbura Cairo Calcutta Cambridge_Bay Campo_Grande Canary Cancun Cape_Verde Caracas Casablanca Casey Catamarca Cayenne Cayman Center CET Ceuta Chagos Chatham Chicago Chihuahua Chisinau Choibalsan Chongqing Christmas Cocos Colombo Comoro Conakry Copenhagen Cordoba Costa_Rica CST Cuiaba Curacao Currie Dakar Damascus Danmarkshavn Darwin Dar_es_Salaam Davis Dawson Dawson_Creek DaylightSavingTime Denver Detroit Dhaka Dili Djibouti Dominica Douala Dubai Dublin DumontDUrville Dushanbe Eastern Edmonton EET Efate Eirunepe El_Aaiun El_Salvador Enderbury EST 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 HongKong Hong_Kong 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 KualaLumpur Kuala_Lumpur Kuching Kuwait Kwajalein Lagos La_Paz La_Rioja Libreville Lima Lindeman Lisbon Ljubljana Lome London Longyearbyen Lord_Howe LosAngeles Los_Angeles 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 MexicoCity Mexico_City Midway Minsk Miquelon Mogadishu Monaco Moncton Monrovia Monterrey Montevideo Monticello Montreal Montserrat Moscow MST Muscat Nairobi Nassau Nauru Ndjamena NewYork New_Salem New_York 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-au-Prince Porto-Novo Porto_Velho Port_Moresby Port_of_Spain Prague PST 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 Santiago Santo_Domingo San_Juan San_Marino Sao_Paulo Sao_Tome Sarajevo Scoresbysund Seoul Shanghai Shiprock Simferopol Singapore Skopje Sofia South_Georgia South_Pole Stanley Stockholm St_Barthelemy St_Helena St_Johns St_Kitts St_Lucia St_Thomas St_Vincent 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 |
Day of the week | dayOfWeek |
Day of the year | dayOfYear |
Lagged 'timeDate' differences | diff diff.timeDate |
Difference of two 'timeDate' objects | difftimeDate |
Early closings of the New York Stock exchange | earlyCloseNYSE |
Date of Easter | Easter |
Financial Center of a timeDate object | finCenter finCenter,timeDate-method finCenter<- finCenter<-,timeDate-method |
First and last days | firstDay lastDay timeFirstDayInMonth timeFirstDayInQuarter timeLastDayInMonth timeLastDayInQuarter |
Format methods | format format.timeDate |
Holiday dates | holiday |
Public and ecclesiastical holidays | Advent1st Advent2nd Advent3rd Advent4th AllSaints AllSouls Annunciation Ascension AshWednesday AssumptionOfMary BirthOfVirginMary BoxingDay CACanadaDay CACivicProvincialHoliday CAFamilyDay CALabourDay CaRemembranceDay CAThanksgivingDay CAVictoriaDay CelebrationOfHolyCross CHAscension CHBerchtoldsDay CHConfederationDay CHKnabenschiessen ChristmasDay ChristmasEve ChristTheKing CHSechselaeuten CorpusChristi DEAscension DEChristmasEve DECorpusChristi DEGermanUnity DENewYearsEve EasterMonday EasterSunday Epiphany FRAllSaints FRArmisticeDay FRAscension FRAssumptionVirginMary FRBastilleDay FRFetDeLaVictoire1945 GBBankHoliday GBEarlyMayBankHoliday GBMayDay GBMilleniumDay GBSpringBankHoliday GBSummerBankHoliday GoodFriday holidayDate InternationalWomensDay ITAllSaints ITAssumptionOfVirginMary ITEpiphany ITImmaculateConception ITLiberationDay ITStAmrose JPAutumnalEquinox JPBankHolidayDec31 JPBankHolidayJan2 JPBankHolidayJan3 JPBunkaNoHi JPChildrensDay JPComingOfAgeDay JPConstitutionDay JPEmperorsBirthday JPGantan JPGreeneryDay JPHealthandSportsDay JPKeirouNOhi JPKeirouNoHi JPKenkokuKinenNoHi JPKenpouKinenBi JPKinrouKanshaNoHi JPKodomoNoHi JPKokuminNoKyujitu JPMarineDay JPMidoriNoHi JPMountainDay JPNatFoundationDay JPNationalCultureDay JPNationHoliday JPNewYearsDay JPRespectForTheAgedDay JPSeijinNoHi JPShuubunNoHi JPTaiikuNoHi JPTennouTanjyouBi JPThanksgivingDay JPUmiNoHi JPVernalEquinox LaborDay MassOfArchangels NewYearsDay PalmSunday Pentecost PentecostMonday PresentationOfLord Quinquagesima RogationSunday Septuagesima SolemnityOfMary TransfigurationOfLord TrinitySunday USChristmasDay USColumbusDay USCPulaskisBirthday USDecorationMemorialDay USElectionDay USGoodFriday USInaugurationDay USIndependenceDay USJuneteenthNationalIndependenceDay USLaborDay USLincolnsBirthday USMemorialDay USMLKingsBirthday USNewYearsDay USPresidentsDay USThanksgivingDay USVeteransDay USWashingtonsBirthday |
London Bank Holidays | holidayLONDON |
NERC holiday calendar | holidayNERC |
NYSE holiday calendar | holidayNYSE |
TSX holiday calendar | holidayTSX |
Zurich holiday calendar | holidayZURICH |
Methods for 'is.na' | is.na,timeDate-method is.na-methods |
Check if dates are business or holidays | isBizday isHoliday |
Checks if a date/time vector is regular | frequency frequency,timeDate-method frequency.timeDate isDaily isDaily,timeDate-method isMonthly isMonthly,timeDate-method isQuarterly isQuarterly,timeDate-method isRegular isRegular,timeDate-method |
Weekdays and weekends | isWeekday isWeekend |
Julian counts and calendar atoms | $,timeDate-method atoms atoms,ANY-method atoms,timeDate-method julian julian.timeDate months months.timeDate quarters quarters.timeDate weekdays weekdays.timeDate |
Kurtosis | kurtosis kurtosis.data.frame kurtosis.default kurtosis.POSIXct kurtosis.POSIXlt |
Length of a 'timeDate' object | length length.timeDate |
List of financial centers | listFinCenter |
List of holidays | listHolidays |
Midnight standard | midnightStandard midnightStandard2 |
myFinCenter variable | myFinCenter |
Frequency of date/time units | myUnits |
The names of a 'timeDate' object | names,timeDate-method names-methods names<-,timeDate-method |
n-th n-day dates | nDay timeLastNdayInMonth timeNthNdayInMonth |
On-or-after/before dates | onOrAfter onOrBefore timeNdayOnOrAfter timeNdayOnOrBefore |
Rolling periods | monthlyRolling periodicallyRolling periods |
Plot methods | abline,ANY,ANY,ANY,timeDate-method axis.timeDate lines,timeDate-method plot,timeDate-method points,timeDate-method pretty.timeDate |
Replicating 'timeDate' objects | rep rep.timeDate |
Reverse 'timeDate' objects | rev rev.timeDate |
Rmetrics option settings | getRmetricsOption getRmetricsOptions setRmetricsOptions |
Rounding and truncating 'timeDate' objects | round round.timeDate trunc trunc.timeDate |
Financial centers DST rules | rulesFinCenter |
Resampling 'timeDate' objects | sample sample,timeDate-method |
Show methods | show,ANY-method show,timeDate-method show-methods show.timeDate |
Skewness | skewness skewness.data.frame skewness.default skewness.POSIXct skewness.POSIXlt |
Sorting 'timeDate' objects | sort sort.timeDate |
Dates of special one-off holidays in the UK | specialHolidayGB |
Terminal times and range | end end.timeDate max.timeDate min.timeDate range.timeDate start start.timeDate |
Subsetting a 'timeDate' object | subset [,timeDate,ANY,missing-method [,timeDate,character,missing-method [,timeDate,logical,missing-method [,timeDate,missing,missing-method [,timeDate,numeric,missing-method [<-.timeDate |
Summary method | print.timeDate_summary summary.timeDate timeDate_summary |
System time as 'timeDate' object | Sys.timeDate |
'timeDate' from calendar atoms | timeCalendar |
Create 'timeDate' objects | as.timeDate as.timeDate.Date as.timeDate.default as.timeDate.POSIXt as.timeDate.timeDate coerce,ANY,timeDate-method coerce,Date,timeDate-method coerce,POSIXt,timeDate-method getDataPart,timeDate-method initialize,timeDate-method strptimeDate timeDate timeDate,ANY-method timeDate,character-method timeDate,Date-method timeDate,missing-method timeDate,numeric-method timeDate,POSIXt-method timeDate,timeDate,ANY-method timeDate,timeDate-method |
Class "timeDate" | timeDate-class |
Mathematical operations with 'timeDate' objects | +,numeric,timeDate-method +,timeDate,numeric-method +,timeDate,timeDate-method -,numeric,timeDate-method -,timeDate,numeric-method -,timeDate,timeDate-method Ops,timeDate,timeDate-method timeDateMathOps |
Regularly spaced 'timeDate' objects | seq seq.timeDate timeSequence |
Remove duplicated dates from 'timeDate' objects | unique unique.timeDate |
Format recognation | whichFormat |
Time windows | cut.timeDate window window.timeDate |