timedelta_type Derived Type

type, public :: timedelta_type

Represents a duration or time interval. Normalized: seconds in [0,86399], ms in [0,999]. Days can be negative for negative durations.


Components

Type Visibility Attributes Name Initial
integer, public :: days = 0

Number of days

integer, public :: milliseconds = 0

Milliseconds (0-999)

integer, public :: seconds = 0

Seconds (0-86399)


Source Code

    type :: timedelta_type
        !! version: experimental
        !!
        !! Represents a duration or time interval.
        !! Normalized: seconds in [0,86399], ms in [0,999].
        !! Days can be negative for negative durations.
        integer :: days         = 0   !! Number of days
        integer :: seconds      = 0   !! Seconds (0-86399)
        integer :: milliseconds = 0   !! Milliseconds (0-999)
    end type timedelta_type