|
qtDateTime
|
Public Member Functions | |
| logical function | qtdt_f_datene (tDate1, tDate2) |
qtDT_F_DateNECompares if two dates are not equal. More... | |
| logical function | qtdt_f_timene (tTime1, tTime2) |
qtDT_F_TimeNECompares if two time values are not equal. More... | |
| logical function qtdt_f_datene | ( | type (qtdt_t_date), intent(in) | tDate1, |
| type (qtdt_t_date), intent(in) | tDate2 | ||
| ) |
Usage:
lRet = ( tDate1 /= tDate2 ) lRet = qtDT_F_DateNE( tDate1, tDate2 )
| 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 .NE. and /= .
| logical function qtdt_f_timene | ( | type (qtdt_t_time), intent(in) | tTime1, |
| type (qtdt_t_time), intent(in) | tTime2 | ||
| ) |
Usage:
lRet = ( tTime1 /= tTime2 ) lRet = qtDT_F_TimeNE( tTime1, tTime2 )
| tTime1 | : time to be compared |
| tTime2 | : time to be compared |
Compares if two time values are not equal and returns .TRUE. if so.
The function is used to overload the logical operators .NE. and /= .