knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

ifc

Lifecycle: experimental CRAN status Travis build status Codecov test coverage

The International Fixed Calendar is a proposed calendar system that divides the 364 solar days into 13 months of 28 days, with the last day not belonging to any month (two days every leap year). Every month of every year the 5th day falls on a Thursday. This package uses lubridate to convert Gregorian dates to Fixed dates for every day use.

| Sun| Mon| Tue| Wed| Thu| Fri| Sat| |---:|---:|---:|---:|---:|---:|---:| | 1| 2| 3| 4| 5| 6| 7| | 8| 9| 10| 11| 12| 13| 14| | 15| 16| 17| 18| 19| 20| 21| | 22| 23| 24| 25| 26| 27| 28|

Installation

You can install the development version of ifc from GitHub with:

# install.packages("remotes")
remotes::install_github("kiernnan/ifc")

Example

library(ifc)
# first day always matches
ifc_date("2019-01-01")
# from there, days shift forward
ifc_date("2019-07-04")
# extra day at the end of the year
ifc_date("2019-12-31")

Please note that the ifc project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.



kiernann/ifc documentation built on Jan. 1, 2020, 12:55 a.m.