CF_Time_Integer Derived Type

type, public, extends(CF_Time) :: CF_Time_Integer


Inherits

type~~cf_time_integer~~InheritsGraph type~cf_time_integer CF_Time_Integer type~cf_time CF_Time type~cf_time_integer->type~cf_time

Components

Type Visibility Attributes Name Initial
character(len=:), public, allocatable :: base_datetime
character(len=:), public, allocatable :: time_unit
integer, public :: duration
logical, public :: is_valid

Constructor

public interface CF_Time_Integer

  • private function construct_cf_time_integer(duration, units) result(cft)

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(in) :: duration
    character(len=*), intent(in) :: units

    Return Value type(CF_Time_Integer)


Source Code

   type, extends(CF_Time) :: CF_Time_Integer
      integer :: duration
   end type CF_Time_Integer