Calendrical. IncompatibleCalendarError exception
(Calendrical v2.2.0)
Copy Markdown
Exception raised when an operation is attempted between two dates or datetimes that use incompatible calendars.
Fields
:from— the first calendar (or value carrying it).:to— the second calendar (or value carrying it).:reason—:day_rolloverwhere a date cannot be converted from one calendar to the other because their days begin at different times, asDate.convert/2answers, ornilwhere the two must be the same.