cldr_utils v2.13.2 Cldr.Calendar.Conversion View Source

Link to this section Summary

Functions

Converts a year, month and day into a number of days for the gregorian calendar

Returns true if the given year is a leap year.

Link to this section Functions

Link to this function

convert_eras_to_iso_days(calendar_data)

View Source
Link to this function

gregorian_date_to_iso_days(year, month, day)

View Source

Converts a year, month and day into a number of days for the gregorian calendar

This should be done in the Calendar.ISO module but today that module doesnt handle negative years which are needed here.

Returns true if the given year is a leap year.

Link to this function

parse_time_periods(period_data)

View Source