construct_date_fields Function

public function construct_date_fields(year, month, day) result(fields)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: year
integer, intent(in) :: month
integer, intent(in) :: day

Return Value type(date_fields)


Called by

proc~~construct_date_fields~~CalledByGraph proc~construct_date_fields construct_date_fields interface~date_fields date_fields interface~date_fields->proc~construct_date_fields

Source Code

   function construct_date_fields(year, month, day) result(fields)
      integer, intent(in) :: year
      integer, intent(in) :: month
      integer, intent(in) :: day
      type(date_fields) :: fields
      fields%year_ = year
      fields%month_ = month
      fields%day_ = day
   end function construct_date_fields