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

Public Member Functions

logical function qtdt_f_dateeq (tDate1, tDate2)
 

qtDT_F_DateEQ

Compares if two dates are equal. More...
 
logical function qtdt_f_timeeq (tTime1, tTime2)
 

qtDT_F_TimeEQ

Compares if two time values are equal. More...
 

Member Function/Subroutine Documentation

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

qtDT_F_DateEQ

Compares if two dates are equal.

Usage:

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

Compares if two dates are equal and returns .TRUE. if so.
The function is used to overload the logical operators .EQ. and == .

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

qtDT_F_TimeEQ

Compares if two time values are equal.

Usage:

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

Compares if two time values are equal and returns .TRUE. if so.
The function is used to overload the logical operators .EQ. and == .