Data.DBXCommon.TDBXDateValue.Compare
Delphi
function Compare(Other: TDBXValue): Smallint; override;
C++
virtual short __fastcall Compare(TDBXValue* Other);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Data.DBXCommon.pas Data.DBXCommon.hpp |
Data.DBXCommon | TDBXDateValue |
Description
Compares the TDBXDateValue with another TDBXDateValue given by a parameter.
Compare compares the current TDBXDateValue to the Other
parameter. Compare returns -1 if the current TDBXDateValue is before Other
, 1 if the current TDBXDateValue is after Other
, and 0 if they are the same date.