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:Diethelm Wuertz [aut], Tobias Setz [aut], Yohan Chalabi [aut], Martin Maechler [ctb], Joe W. Byers [ctb], Georgi N. Boshnakov [cre, aut]

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'))

Peer review:

Bug tracker:https://github.com/geobosh/timedatedoc/issues

9.67 score 1 stars 682 packages 848 scripts 267k downloads 605 exports 0 dependencies

Last updated 2 months agofrom:a81e582dc3. Checks:OK: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 21 2024
R-4.5-linuxOKNov 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 pageTopics
Utilities and tools packagetimeDate-package
Endpoints indexes.endpoints
Align a 'timeDate' object to regular date/time stampsalign align,ANY-method align,timeDate-method alignDaily alignMonthly alignQuarterly
Equally sized 'timeDate' blocksblockEnd blockStart
Concatenating 'timeDate' objectsc c.timeDate
Coercion from 'timeDate' to other classesas.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 yearcurrentYear
Daylight Saving Time RulesAbidjan 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 weekdayOfWeek
Day of the yeardayOfYear
Lagged 'timeDate' differencesdiff diff.timeDate
Difference of two 'timeDate' objectsdifftimeDate
Early closings of the New York Stock exchangeearlyCloseNYSE
Date of EasterEaster
Financial Center of a timeDate objectfinCenter finCenter,timeDate-method finCenter<- finCenter<-,timeDate-method
First and last daysfirstDay lastDay timeFirstDayInMonth timeFirstDayInQuarter timeLastDayInMonth timeLastDayInQuarter
Format methodsformat format.timeDate
Holiday datesholiday
Public and ecclesiastical holidaysAdvent1st 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 HolidaysholidayLONDON
NERC holiday calendarholidayNERC
NYSE holiday calendarholidayNYSE
TSX holiday calendarholidayTSX
Zurich holiday calendarholidayZURICH
Methods for 'is.na'is.na,timeDate-method is.na-methods
Check if dates are business or holidaysisBizday isHoliday
Checks if a date/time vector is regularfrequency frequency,timeDate-method frequency.timeDate isDaily isDaily,timeDate-method isMonthly isMonthly,timeDate-method isQuarterly isQuarterly,timeDate-method isRegular isRegular,timeDate-method
Weekdays and weekendsisWeekday 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
Kurtosiskurtosis kurtosis.data.frame kurtosis.default kurtosis.POSIXct kurtosis.POSIXlt
Length of a 'timeDate' objectlength length.timeDate
List of financial centerslistFinCenter
List of holidayslistHolidays
Midnight standardmidnightStandard midnightStandard2
myFinCenter variablemyFinCenter
Frequency of date/time unitsmyUnits
The names of a 'timeDate' objectnames,timeDate-method names-methods names<-,timeDate-method
n-th n-day datesnDay timeLastNdayInMonth timeNthNdayInMonth
On-or-after/before datesonOrAfter onOrBefore timeNdayOnOrAfter timeNdayOnOrBefore
Rolling periodsmonthlyRolling periodicallyRolling periods
Plot methodsabline,ANY,ANY,ANY,timeDate-method axis.timeDate lines,timeDate-method plot,timeDate-method points,timeDate-method pretty.timeDate
Replicating 'timeDate' objectsrep rep.timeDate
Reverse 'timeDate' objectsrev rev.timeDate
Rmetrics option settingsgetRmetricsOption getRmetricsOptions setRmetricsOptions
Rounding and truncating 'timeDate' objectsround round.timeDate trunc trunc.timeDate
Financial centers DST rulesrulesFinCenter
Resampling 'timeDate' objectssample sample,timeDate-method
Show methodsshow,ANY-method show,timeDate-method show-methods show.timeDate
Skewnessskewness skewness.data.frame skewness.default skewness.POSIXct skewness.POSIXlt
Sorting 'timeDate' objectssort sort.timeDate
Dates of special one-off holidays in the UKspecialHolidayGB
Terminal times and rangeend end.timeDate max.timeDate min.timeDate range.timeDate start start.timeDate
Subsetting a 'timeDate' objectsubset [,timeDate,ANY,missing-method [,timeDate,character,missing-method [,timeDate,logical,missing-method [,timeDate,missing,missing-method [,timeDate,numeric,missing-method [<-.timeDate
Summary methodprint.timeDate_summary summary.timeDate timeDate_summary
System time as 'timeDate' objectSys.timeDate
'timeDate' from calendar atomstimeCalendar
Create 'timeDate' objectsas.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' objectsseq seq.timeDate timeSequence
Remove duplicated dates from 'timeDate' objectsunique unique.timeDate
Format recognationwhichFormat
Time windowscut.timeDate window window.timeDate