construct_time_fields Function

public pure function construct_time_fields(hour, minute, second, millisecond, timezone_offset) result(fields)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: hour
integer, intent(in) :: minute
integer, intent(in) :: second
integer, intent(in) :: millisecond
integer, intent(in) :: timezone_offset

Return Value type(time_fields)


Called by

proc~~construct_time_fields~~CalledByGraph proc~construct_time_fields construct_time_fields interface~time_fields time_fields interface~time_fields->proc~construct_time_fields

Source Code

   pure function construct_time_fields(hour, minute, second, millisecond, &
      timezone_offset) result(fields)
      integer, intent(in) :: hour
      integer, intent(in) :: minute
      integer, intent(in) :: second
      integer, intent(in) :: millisecond
      integer, intent(in) :: timezone_offset
      type(time_fields) :: fields
      fields%hour_ = hour
      fields%minute_ = minute
      fields%second_ = second
      fields%millisecond_ = millisecond
      fields%timezone_offset_ = timezone_offset
   end function construct_time_fields