README.md

ethiopianDate

ethiopianDate is an R package for converting Gregorian dates to the Ethiopian calendar and vice-versa.

Installation

Use the R package remotes to install ethiopianDates. From the R command prompt:

remotes::install_github('d-callan/ethiopianDate')

Usage

#year, month and date are all numeric values
gregorianToEthiopian(year, month, date)

#gregorianDate is a Date or character
#format (only used for character input) is the format of the input gregorianDate, default is '%Y-%m-%d'
toEthiopian(gregorianDate, format)

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

Apache 2.0

References

https://github.com/rgaudin/tools/tree/master/ethiopian_date

http://www.funaba.org/en/calendar-conversion.cgi

http://www.senamirmir.org/projects/



d-callan/ethiopianDate documentation built on Dec. 19, 2021, 7:10 p.m.