Learn R Programming

ethiodate (version 0.3.1)

eth_make_date: Make Ethiopian Date

Description

Make Ethiopian date from year, month and day components.

Usage

eth_make_date(year, month, day)

Value

a vector of an 'ethdate' object.

Arguments

year

an integer vector of Ethiopian year.

month

an integer vector of Ethiopian month.

day

an integer vector of Ethiopian day.

Author

Gutama Girja Urago

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.

See Also

eth_date() eth_parse_date()

Examples

Run this code
eth_make_date(2017, 01, 15)

Run the code above in your browser using DataLab