Comparing values
The value handle provides the typical compare operations (<, >, ==, !=, >=, <=). One may compare values with each other, but also values against elementary (C++) data types, Date, Time or DateTime values. In order to check, whether values are comparable, canCompare() might be called.
When comparing values with different data types, the right operand will be converted into the format of the left operand before comparing the values.
One may also call the compare() function, which is called with the left operand while the right operand is passed as parameter.