ISO8601Date Derived Type

type, public :: ISO8601Date


Inherited by

type~~iso8601date~~InheritedByGraph type~iso8601date ISO8601Date type~iso8601datetime ISO8601DateTime type~iso8601datetime->type~iso8601date date_ type~iso8601interval ISO8601Interval type~iso8601interval->type~iso8601datetime start_datetime_, end_datetime_

Constructor

public interface ISO8601Date

  • public function construct_ISO8601Date(isostring, rc) result(date)

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in) :: isostring
    integer, intent(out) :: rc

    Return Value type(ISO8601Date)


Type-Bound Procedures

procedure, public :: get_day

  • public function get_day(self)

    Arguments

    Type IntentOptional Attributes Name
    class(ISO8601Date), intent(in) :: self

    Return Value integer

procedure, public :: get_month

  • public function get_month(self)

    Arguments

    Type IntentOptional Attributes Name
    class(ISO8601Date), intent(in) :: self

    Return Value integer

procedure, public :: get_year

  • public function get_year(self)

    Arguments

    Type IntentOptional Attributes Name
    class(ISO8601Date), intent(in) :: self

    Return Value integer

Source Code

   type :: ISO8601Date
      private
      integer :: year_
      integer :: month_
      integer :: day_
   contains
      procedure, public :: get_year
      procedure, public :: get_month
      procedure, public :: get_day
   end type ISO8601Date