qtDateTime
 All Classes Functions Variables
qtdatetime::operator(.ge.) Interface Reference

Public Member Functions

logical function qtdt_f_datege (tDate1, tDate2)
 

qtDT_F_DateGE

Checks for a date being greater than another or equal to it. More...
 
logical function qtdt_f_timege (tTime1, tTime2)
 

qtDT_F_TimeGE

Checks for a time value being greater than another or equal to it. More...
 

Member Function/Subroutine Documentation

logical function qtdt_f_datege ( type (qtdt_t_date), intent(in)  tDate1,
type (qtdt_t_date), intent(in)  tDate2 
)

qtDT_F_DateGE

Checks for a date being greater than another or equal to it.

Usage:

lRet = ( tDate1 >= tDate2 )
lRet = qtDT_F_DateGE( tDate1, tDate2 )
Parameters
tDate1: date to be compared
tDate2: date to be compared

Compares if a date is greater (is more recent) than another or equal to the other one, and returns .TRUE. if so.
The function is used to overload the logical operators .GE. and >= .

logical function qtdt_f_timege ( type (qtdt_t_time), intent(in)  tTime1,
type (qtdt_t_time), intent(in)  tTime2 
)

qtDT_F_TimeGE

Checks for a time value being greater than another or equal to it.

Usage:

lRet = ( tTime1 >= tTime2 )
lRet = qtDT_F_TimeGE( tTime1, tTime2 )
Parameters
tTime1: time to be compared
tTime2: time to be compared

Compares if a time value is greater (later) than another or equal to the other one, and returns .TRUE. if so.
The function is used to overload the logical operators .GE. and >= .