Utilities

ethioqen.utils.get_ethiopian_month_length(year, month)[source]

Get the length of a given Ethiopian month in a specific year.

ethioqen.utils.is_ethiopian_leap_year(year)[source]

Determine if the given Ethiopian year is a leap year.

ethioqen.utils.is_valid_eth_time(hour, minute)[source]

Validate Ethiopian time.

ethioqen.utils.is_valid_ethiopian_date(year, month, day)[source]

Check if the given Ethiopian date is valid.

ethioqen.utils.is_valid_time(hour, minute)[source]

Validate standard 24-hour time.