time_fields Derived Type

type, public :: time_fields


Components

Type Visibility Attributes Name Initial
integer, public :: hour_
integer, public :: millisecond_
integer, public :: minute_
integer, public :: second_
integer, public :: timezone_offset_
logical, public :: is_valid_ = .FALSE.

Constructor

public interface time_fields

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


Source Code

   type :: time_fields
      integer :: hour_
      integer :: minute_
      integer :: second_
      integer :: millisecond_
      integer :: timezone_offset_
      logical :: is_valid_ = .FALSE.
   end type time_fields