Skip to contents

Make Ethiopian date from year, month and day components.

Usage

eth_make_date(year, month, day)

Arguments

year

an integer vector of Ethiopian year.

month

an integer vector of Ethiopian month.

day

an integer vector of Ethiopian day.

Value

a vector of 'ethdate' objects.

Details

This function makes an Ethiopian date object from three integer vectors of an equal length. It validates the date and returns NA for invalid dates. It accounts for leap years.

Author

Gutama Girja Urago

Examples

eth_make_date(2017, 01, 15)
#> [1] "2017-01-15"