Package: shide 0.2.1.9000
shide: Date/Time Classes Based on Jalali Calendar
Implements S3 classes for storing dates and date-times based on the Jalali calendar. The main design goal of 'shide' is consistency with base R's 'Date' and 'POSIXct'. It provide features such as: date-time parsing, formatting and arithmetic.
Authors:
shide_0.2.1.9000.tar.gz
shide_0.2.1.9000.zip(r-4.5)shide_0.2.1.9000.zip(r-4.4)shide_0.2.1.9000.zip(r-4.3)
shide_0.2.1.9000.tgz(r-4.4-x86_64)shide_0.2.1.9000.tgz(r-4.4-arm64)shide_0.2.1.9000.tgz(r-4.3-x86_64)shide_0.2.1.9000.tgz(r-4.3-arm64)
shide_0.2.1.9000.tar.gz(r-4.5-noble)shide_0.2.1.9000.tar.gz(r-4.4-noble)
shide_0.2.1.9000.tgz(r-4.4-emscripten)shide_0.2.1.9000.tgz(r-4.3-emscripten)
shide.pdf |shide.html✨
shide/json (API)
NEWS
# Install 'shide' in R: |
install.packages('shide', repos = c('https://mmollayi.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/mmollayi/shide/issues
Last updated 2 months agofrom:5f2ffdb96f. Checks:OK: 9. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 26 2024 |
R-4.5-win-x86_64 | OK | Oct 26 2024 |
R-4.5-linux-x86_64 | OK | Oct 26 2024 |
R-4.4-win-x86_64 | OK | Oct 26 2024 |
R-4.4-mac-x86_64 | OK | Oct 26 2024 |
R-4.4-mac-aarch64 | OK | Oct 26 2024 |
R-4.3-win-x86_64 | OK | Oct 26 2024 |
R-4.3-mac-x86_64 | OK | Oct 26 2024 |
R-4.3-mac-aarch64 | OK | Oct 26 2024 |
Exports:as_jdateas_jdatetimeis_jdateis_jdatetimejdatejdate_makejdate_nowjdatetimejdatetime_makejdatetime_nowsh_ceilingsh_daysh_day<-sh_floorsh_hoursh_hour<-sh_mdaysh_mday<-sh_minutesh_minute<-sh_monthsh_month<-sh_qdaysh_quartersh_roundsh_secondsh_second<-sh_tzonesh_wdaysh_ydaysh_yearsh_year_is_leapsh_year<-vec_arith.jdatevec_arith.jdatetimevec_cast.jdatevec_cast.jdatetimevec_ptype2.jdatevec_ptype2.jdatetime
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Cast an object to a 'jdate' object | as_jdate |
Cast an object to a 'jdatetime' object | as_jdatetime |
Check an object for its class | is_jdate is_jdatetime |
Jalali calendar dates | jdate jdate.character jdate.numeric |
Construct Jalali date-time objects from individual components | jdatetime_make jdate_make |
Current Jalali date and datetime | jdatetime_now jdate_now |
Date-time based on the Jalali calendar | jdatetime jdatetime.character |
Generate regular sequences of Jalali dates | seq.jdate |
Generate regular sequences of Jalali date-times | seq.jdatetime |
Get/set the days components of Jalali date-time objects | sh_day sh_day.jdate sh_day.jdatetime sh_day<- sh_day<-.jdate sh_day<-.jdatetime sh_mday sh_mday<- sh_qday sh_qday.jdate sh_qday.jdatetime sh_wday sh_wday.jdate sh_wday.jdatetime sh_yday sh_yday.jdate sh_yday.jdatetime |
Get/set the time components of 'jdatetime' objects | sh_hour sh_hour.jdatetime sh_hour<- sh_hour<-.jdatetime sh_minute sh_minute.jdatetime sh_minute<- sh_minute<-.jdatetime sh_second sh_second.jdatetime sh_second<- sh_second<-.jdatetime |
Get/set the month component of Jalali date-time objects | sh_month sh_month.jdate sh_month.jdatetime sh_month<- sh_month<-.jdate sh_month<-.jdatetime |
Get the quarter of Jalali date-time objects | sh_quarter |
Round Jalali dates to a specific unit of time | sh_ceiling sh_floor sh_round |
Get the time zone component of 'jdatetime' objects | sh_tzone sh_tzone.jdatetime |
Get/set the year component of Jalali date-time objects | sh_year sh_year.jdate sh_year.jdatetime sh_year<- sh_year<-.jdate sh_year<-.jdatetime |
Determine if a Jalali year is a leap year | sh_year_is_leap |
Arithmetic operations for 'jdate' and 'jdatetime' | shide-arithmetic vec_arith.jdate vec_arith.jdatetime |
Coercion | shide-coercion vec_ptype2.jdate vec_ptype2.jdatetime |
Mathematical operations for 'jdate' and 'jdatetime' | shide-math vec_math.jdate vec_math.jdatetime |
Cast an object to a 'jdate' object | vec_cast.jdate |
Cast an object to a 'jdatetime' object | vec_cast.jdatetime |