mtime 1.3.0
|
TimeDelta and some operations supported on TimeDelta. More...
Data Types | |
interface | getptstringfromseconds |
interface | newtimedelta |
interface | operator(*) |
interface | operator(+) |
interface | operator(-) |
interface | operator(/=) |
interface | operator(<) |
interface | operator(<=) |
interface | operator(==) |
interface | operator(>) |
interface | operator(>=) |
Functions/Subroutines | |
recursive subroutine, public | deallocatetimedelta (my_timedelta) |
Destructor of TimeDelta. | |
recursive type(timedelta) function, target, public | gettimedeltafromdate (op1, op2) |
Get the TimeDelta between two Dates op1 and op2 as (op1-op22). | |
recursive type(timedelta) function, target, public | gettimedeltafromdatetime (op1, op2) |
Get the TimeDelta between two DateTimes op1 and op2 as (op1-op2). | |
recursive integer(c_int64_t) function, public | gettotalmillisecondstimedelta (td, dt, errno) |
Get total number of milliseconds in timedelta. | |
recursive integer(c_int64_t) function, public | gettotalsecondstimedelta (td, dt, errno) |
Get total number of seconds in timedelta. | |
recursive subroutine, public | timedeltatostring (my_timedelta, string, errno) |
Get TimeDelta as an extended string. | |
recursive integer(c_int64_t) function, public | modulotimedelta (a, p, quot) |
Returns modulo(a,p) and the quotient. | |
recursive subroutine, public | getptstringfromms (ms, string, errno) |
Return a PT String corresponding to arbitrary number of milliseconds. | |
recursive subroutine, public | getptstringfromminutes (m, string, errno) |
Return a PT String corresponding to arbitrary number of minutes. | |
recursive subroutine, public | getptstringfromhours (h, string, errno) |
Return a PT String corresponding to arbitrary number of Hours. | |
recursive subroutine, public | timedeltatojuliandelta (td, dt, jd) |
Convert time delta to "Julian calendar delta". | |
recursive subroutine, public | dividetimedeltainseconds (dividend, divisor, quotient, errna) |
division by seconds. | |
recursive subroutine, public | dividetwodatetimediffsinseconds (dt1_dividend, dt2_dividend, dt1_divisor, dt2_divisor, denominator, quotient) |
division of two differences in datetimes. | |
recursive subroutine, public | dividedatetimedifferenceinseconds (dt1, dt2, divisor, quotient, errna) |
division of an datetime interval by seconds. | |
TimeDelta and some operations supported on TimeDelta.