IllegalHourError¶
-
exception
astropy.coordinates.
IllegalHourError
(hour)[source] [edit on github]¶ Raised when an hour value is not in the range [0,24).
Parameters: - hour : int, float
Examples
if not 0 <= hr < 24: raise IllegalHourError(hour)
astropy.coordinates.
IllegalHourError
(hour)[source] [edit on github]¶Raised when an hour value is not in the range [0,24).
Parameters: |
|
---|
Examples
if not 0 <= hr < 24:
raise IllegalHourError(hour)