validateTime

Check that the time has valid values for hour, minute, and second.

bool
validateTime
(
int hour
,
int minute
,
int second
)

Parameters

hour int

the hour of the day to check

minute int

the minute of the hour to check

second int

the second to check

Return Value

Type: bool

true if the time is valid

Meta