Exception: Horologium::InvalidCivilTimeError

Inherits:
Error
  • Object
show all
Defined in:
lib/horologium/error.rb,
sig/horologium.rbs

Overview

Raised when a calendar date and time of day do not exist: a day the month does not have, an hour past the end of the day, a second 60 where no leap second was inserted, or a year before the calendar conversion starts. The message says which field is wrong and what it may hold.