is_valid_hour Function

public pure function is_valid_hour(hour)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: hour

Return Value logical


Calls

proc~~is_valid_hour~~CallsGraph proc~is_valid_hour is_valid_hour proc~is_between is_between proc~is_valid_hour->proc~is_between

Called by

proc~~is_valid_hour~~CalledByGraph proc~is_valid_hour is_valid_hour proc~is_valid_time~2 is_valid_time proc~is_valid_time~2->proc~is_valid_hour proc~test_is_valid_hour test_is_valid_hour proc~test_is_valid_hour->proc~is_valid_hour proc~parse_time parse_time proc~parse_time->proc~is_valid_time~2 proc~test_is_valid_time test_is_valid_time proc~test_is_valid_time->proc~is_valid_time~2 proc~construct_iso8601time construct_ISO8601Time proc~construct_iso8601time->proc~parse_time proc~test_parse_time test_parse_time proc~test_parse_time->proc~parse_time interface~iso8601time ISO8601Time interface~iso8601time->proc~construct_iso8601time proc~test_construct_iso8601time test_construct_ISO8601Time proc~test_construct_iso8601time->proc~construct_iso8601time

Source Code

   pure logical function is_valid_hour(hour)
      integer, intent(in) :: hour
      integer, parameter :: LB_HOUR = -1
      integer, parameter :: UB_HOUR = 24
      is_valid_hour = is_between(LB_HOUR, UB_HOUR, hour)
   end function is_valid_hour