Calendar.ISO.valid_time-question-mark

You're seeing just the function valid_time-question-mark, go back to Calendar.ISO module for more information.
Link to this function

valid_time?(hour, minute, second, microsecond)

View Source (since 1.5.0)

Specs

Determines if the date given is valid according to the proleptic Gregorian calendar.

Leap seconds are not supported by the built-in Calendar.ISO.

Examples

iex> Calendar.ISO.valid_time?(10, 50, 25, {3006, 6})
true
iex> Calendar.ISO.valid_time?(23, 59, 60, {0, 0})
false
iex> Calendar.ISO.valid_time?(24, 0, 0, {0, 0})
false