| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| real(kind=real64), | public, | parameter | :: | zero | = | 0._real64 | |
| real(kind=real64), | public, | parameter | :: | one | = | 1._real64 | |
| real(kind=real64), | public, | parameter | :: | d2h | = | 24._real64 | |
| real(kind=real64), | public, | parameter | :: | h2d | = | one/d2h | |
| real(kind=real64), | public, | parameter | :: | d2m | = | d2h*60._real64 | |
| real(kind=real64), | public, | parameter | :: | m2d | = | one/d2m | |
| real(kind=real64), | public, | parameter | :: | m2h | = | one/60 | |
| real(kind=real64), | public, | parameter | :: | s2d | = | m2d/60 | |
| real(kind=real64), | public, | parameter | :: | d2s | = | 86400._real64 | |
| real(kind=real64), | public, | parameter | :: | h2s | = | 3600._real64 | |
| real(kind=real64), | public, | parameter | :: | h2m | = | 60._real64 | |
| real(kind=real64), | public, | parameter | :: | s2h | = | one/h2s | |
| real(kind=real64), | public, | parameter | :: | m2s | = | 60._real64 | |
| real(kind=real64), | public, | parameter | :: | s2m | = | one/m2s | |
| integer, | public, | parameter | :: | MAXSTRLEN | = | 99 | |
| integer(kind=kind(calendarType)), | private | :: | calendar | = | gregorian |
| enumerator | :: | calendarType | = | 0 | |
| enumerator | :: | gregorian | = | 1 | |
| enumerator | :: | julian | = | 2 | |
| enumerator | :: | noLeaps | = | 3 | |
| enumerator | :: | three60day | = | 4 |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in), | optional | :: | year | ||
| integer, | intent(in), | optional | :: | month | ||
| integer, | intent(in), | optional | :: | day | ||
| integer, | intent(in), | optional | :: | hour | ||
| integer, | intent(in), | optional | :: | minute | ||
| integer, | intent(in), | optional | :: | second | ||
| integer, | intent(in), | optional | :: | millisecond | ||
| real(kind=real64), | intent(in), | optional | :: | tz |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in), | optional | :: | days | ||
| integer, | intent(in), | optional | :: | hours | ||
| integer, | intent(in), | optional | :: | minutes | ||
| integer, | intent(in), | optional | :: | seconds | ||
| integer, | intent(in), | optional | :: | milliseconds |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(kind=c_char, len=1), | intent(out) | :: | str(*) | |||
| integer(kind=c_int), | intent(in), | value | :: | slen | ||
| character(kind=c_char, len=1), | intent(in) | :: | format(*) | |||
| type(tm_struct), | intent(in) | :: | tm |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(kind=c_char, len=1), | intent(in) | :: | str(*) | |||
| character(kind=c_char, len=1), | intent(in) | :: | format(*) | |||
| type(tm_struct), | intent(out) | :: | tm |
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer, | private | :: | year | = | 1 | ||
| integer, | private | :: | month | = | 1 | ||
| integer, | private | :: | day | = | 1 | ||
| integer, | private | :: | hour | = | 0 | ||
| integer, | private | :: | minute | = | 0 | ||
| integer, | private | :: | second | = | 0 | ||
| integer, | private | :: | millisecond | = | 0 | ||
| real(kind=real64), | private | :: | tz | = | 0 |
| public pure, elemental function datetime_constructor (year, month, day, hour, minute, second, millisecond, tz) |
| procedure, public, pass(self) :: getYear | |
| procedure, public, pass(self) :: getMonth | |
| procedure, public, pass(self) :: getDay | |
| procedure, public, pass(self) :: getHour | |
| procedure, public, pass(self) :: getMinute | |
| procedure, public, pass(self) :: getSecond | |
| procedure, public, pass(self) :: getMillisecond | |
| procedure, public, pass(self) :: getTz | |
| procedure, public, pass(self) :: isocalendar | |
| procedure, public, pass(self) :: isoformat | |
| procedure, public, pass(self) :: isValid | |
| procedure, public, nopass :: now | |
| procedure, public, pass(self) :: secondsSinceEpoch | |
| procedure, public, pass(self) :: strftime | |
| procedure, public, pass(self) :: tm | |
| procedure, public, pass(self) :: tzOffset | |
| procedure, public, pass(self) :: isoweekday | |
| procedure, public, pass(self) :: isoweekdayLong | |
| procedure, public, pass(self) :: isoweekdayShort | |
| procedure, public, pass(self) :: utc | |
| procedure, public, pass(self) :: weekday | |
| procedure, public, pass(self) :: weekdayLong | |
| procedure, public, pass(self) :: weekdayShort | |
| procedure, public, pass(self) :: yearday | |
| procedure, private, pass(self) :: addMilliseconds | |
| procedure, private, pass(self) :: addSeconds | |
| procedure, private, pass(self) :: addMinutes | |
| procedure, private, pass(self) :: addHours | |
| procedure, private, pass(self) :: addDays | |
| procedure, private, pass(d0) :: datetime_plus_timedelta | |
| procedure, private, pass(d0) :: timedelta_plus_datetime | |
| procedure, private, pass(d0) :: datetime_minus_datetime | |
| procedure, private, pass(d0) :: datetime_minus_timedelta | |
| procedure, private, pass(d0) :: datetime_eq | |
| procedure, private, pass(d0) :: datetime_neq | |
| procedure, private, pass(d0) :: datetime_gt | |
| procedure, private, pass(d0) :: datetime_ge | |
| procedure, private, pass(d0) :: datetime_lt | |
| procedure, private, pass(d0) :: datetime_le | |
| generic, public :: operator(+) => datetime_plus_timedelta, timedelta_plus_datetime | |
| generic, public :: operator(-) => datetime_minus_datetime, datetime_minus_timedelta | |
| generic, public :: operator(==) => datetime_eq | |
| generic, public :: operator(/=) => datetime_neq | |
| generic, public :: operator(>) => datetime_gt | |
| generic, public :: operator(>=) => datetime_ge | |
| generic, public :: operator(<) => datetime_lt | |
| generic, public :: operator(<=) => datetime_le |
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer, | private | :: | days | = | 0 | ||
| integer, | private | :: | hours | = | 0 | ||
| integer, | private | :: | minutes | = | 0 | ||
| integer, | private | :: | seconds | = | 0 | ||
| integer, | private | :: | milliseconds | = | 0 |
| public pure, elemental function timedelta_constructor (days, hours, minutes, seconds, milliseconds) |
| procedure, public, pass(self) :: getDays | |
| procedure, public, pass(self) :: getHours | |
| procedure, public, pass(self) :: getMinutes | |
| procedure, public, pass(self) :: getSeconds | |
| procedure, public, pass(self) :: getMilliseconds | |
| procedure, public :: total_seconds | |
| procedure, private :: timedelta_plus_timedelta | |
| procedure, private :: timedelta_minus_timedelta | |
| procedure, private :: unary_minus_timedelta | |
| procedure, private :: timedelta_eq | |
| procedure, private :: timedelta_neq | |
| procedure, private :: timedelta_gt | |
| procedure, private :: timedelta_ge | |
| procedure, private :: timedelta_lt | |
| procedure, private :: timedelta_le | |
| generic, public :: operator(+) => timedelta_plus_timedelta | |
| generic, public :: operator(-) => timedelta_minus_timedelta, unary_minus_timedelta | |
| generic, public :: operator(==) => timedelta_eq | |
| generic, public :: operator(/=) => timedelta_neq | |
| generic, public :: operator(>) => timedelta_gt | |
| generic, public :: operator(>=) => timedelta_ge | |
| generic, public :: operator(<) => timedelta_lt | |
| generic, public :: operator(<=) => timedelta_le |
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer(kind=c_int), | public | :: | tm_sec | = | 0 | ||
| integer(kind=c_int), | public | :: | tm_min | = | 0 | ||
| integer(kind=c_int), | public | :: | tm_hour | = | 0 | ||
| integer(kind=c_int), | public | :: | tm_mday | = | 0 | ||
| integer(kind=c_int), | public | :: | tm_mon | = | 0 | ||
| integer(kind=c_int), | public | :: | tm_year | = | 0 | ||
| integer(kind=c_int), | public | :: | tm_wday | = | 0 | ||
| integer(kind=c_int), | public | :: | tm_yday | = | 0 | ||
| integer(kind=c_int), | public | :: | tm_isdst | = | 0 |
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| type(datetime), | public | :: | startTime | ||||
| type(datetime), | public | :: | stopTime | ||||
| type(datetime), | public | :: | currentTime | ||||
| type(timedelta), | public | :: | tickInterval | ||||
| logical, | public | :: | alarm | = | .false. | ||
| logical, | public | :: | started | = | .false. | ||
| logical, | public | :: | stopped | = | .false. |
| procedure, public :: reset | |
| procedure, public :: tick |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in), | optional | :: | year | ||
| integer, | intent(in), | optional | :: | month | ||
| integer, | intent(in), | optional | :: | day | ||
| integer, | intent(in), | optional | :: | hour | ||
| integer, | intent(in), | optional | :: | minute | ||
| integer, | intent(in), | optional | :: | second | ||
| integer, | intent(in), | optional | :: | millisecond | ||
| real(kind=real64), | intent(in), | optional | :: | tz |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(datetime), | intent(in) | :: | self |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(datetime), | intent(in) | :: | self |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(datetime), | intent(in) | :: | self |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(datetime), | intent(in) | :: | self |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(datetime), | intent(in) | :: | self |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(datetime), | intent(in) | :: | self |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(datetime), | intent(in) | :: | self |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(datetime), | intent(in) | :: | self |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(datetime), | intent(in) | :: | self | |||
| character(len=1), | intent(in), | optional | :: | sep |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(datetime), | intent(in) | :: | self |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(datetime), | intent(in) | :: | self |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(datetime), | intent(in) | :: | self |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(datetime), | intent(in) | :: | self |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(datetime), | intent(in) | :: | self |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(datetime), | intent(in) | :: | self |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(datetime), | intent(in) | :: | self |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(datetime), | intent(in) | :: | self |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(datetime), | intent(in) | :: | self |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(datetime), | intent(in) | :: | self | |||
| character(len=*), | intent(in) | :: | format |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(datetime), | intent(in) | :: | self |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(datetime), | intent(in) | :: | self |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | year |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | month | |||
| integer, | intent(in) | :: | year |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | year |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(datetime), | intent(in) | :: | d |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real64), | intent(in) | :: | num |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | str | |||
| character(len=*), | intent(in) | :: | format | |||
| real(kind=real64), | intent(in), | optional | :: | tz |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int64), | intent(in) | :: | epoch | |||
| real(kind=real64), | intent(in) | :: | tz |
local machine time zone information |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int64), | intent(in) | :: | epoch |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | i | |||
| integer, | intent(in) | :: | length |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in), | optional | :: | days | ||
| integer, | intent(in), | optional | :: | hours | ||
| integer, | intent(in), | optional | :: | minutes | ||
| integer, | intent(in), | optional | :: | seconds | ||
| integer, | intent(in), | optional | :: | milliseconds |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(timedelta), | intent(in) | :: | self |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(timedelta), | intent(in) | :: | self |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(timedelta), | intent(in) | :: | self |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(timedelta), | intent(in) | :: | self |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(timedelta), | intent(in) | :: | self |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(timedelta), | intent(in) | :: | self |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(clock), | intent(inout) | :: | self |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(clock), | intent(inout) | :: | self |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | calendarString |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(datetime), | intent(inout) | :: | self | |||
| integer, | intent(in) | :: | ms |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(datetime), | intent(inout) | :: | self | |||
| integer, | intent(in) | :: | s |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(datetime), | intent(inout) | :: | self | |||
| integer, | intent(in) | :: | m |