Time :: operator== - Compare two time values (equal)
The operation compares the two time values and returns true, when the first operand is equal to then the second operand and false otherwise.
Return value: Success ( bool )
The value is true when the function was executed successfully. Otherwise the value is set to false.
Implementation overview
- Compare time value with string data
Time :: operator== ( sDate ) - Compare two time values
Time :: operator== ( cTime )
Implementation details
-
Compare time value with string data
bool Time  :: operator== ( odaba::String &sDate )
The function compares the time value with the time point passed in sTime.
- sDate
- Date value in string format
Date values can be passed in different ways as string value:
Standard: yyyy-mm-dd or yyyymmdd
English: mm/dd/yyyy
German: dd.mm.yyyy
The type of date is determined from the separator used.
to list
- sDate
- Date value in string format
-
Compare two time values
bool Time  :: operator== ( odaba::Time &cTime )
The function compares the time value with the time value passed in cTime.
- cTime
- Time value
The time value is passed in the ODABA Interface::Time format and provides time in 1/100th seconds.
to list
- cTime
- Time value