Package: shide 0.3.0.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.3.0.9000.tar.gz
shide_0.3.0.9000.zip(r-4.7)shide_0.3.0.9000.zip(r-4.6)shide_0.3.0.9000.zip(r-4.5)
shide_0.3.0.9000.tgz(r-4.6-x86_64)shide_0.3.0.9000.tgz(r-4.6-arm64)shide_0.3.0.9000.tgz(r-4.5-x86_64)shide_0.3.0.9000.tgz(r-4.5-arm64)
shide_0.3.0.9000.tar.gz(r-4.7-arm64)shide_0.3.0.9000.tar.gz(r-4.7-x86_64)shide_0.3.0.9000.tar.gz(r-4.6-arm64)shide_0.3.0.9000.tar.gz(r-4.6-x86_64)
shide_0.3.0.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
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 from:455a16cddb. Checks:13 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 135 | ||
| linux-devel-x86_64 | OK | 151 | ||
| source / vignettes | OK | 170 | ||
| linux-release-arm64 | OK | 139 | ||
| linux-release-x86_64 | OK | 164 | ||
| macos-release-arm64 | OK | 217 | ||
| macos-release-x86_64 | OK | 259 | ||
| macos-oldrel-arm64 | OK | 190 | ||
| macos-oldrel-x86_64 | OK | 292 | ||
| windows-devel | OK | 124 | ||
| windows-release | OK | 132 | ||
| windows-oldrel | OK | 110 | ||
| wasm-release | OK | 180 |
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 date-times 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 |
