date_fields Derived Type

type, public :: date_fields


Components

Type Visibility Attributes Name Initial
integer, public :: day_
integer, public :: month_
integer, public :: year_
logical, public :: is_valid_ = .FALSE.

Constructor

public interface date_fields

  • 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)


Source Code

   type :: date_fields
      integer :: year_
      integer :: month_
      integer :: day_
      logical :: is_valid_ = .FALSE.
   end type date_fields