eth_make_date {ethiodate} | R Documentation |
Make Ethiopian Date
Description
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. |
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.
Value
a vector of an 'ethdate' object.
Author(s)
Gutama Girja Urago
See Also
Examples
eth_make_date(2017, 01, 15)
[Package ethiodate version 0.2.0 Index]