PgDAC

TCustomPgTimeStamp.Compare Method

Compares two TCustomPgTimeStamp objects.

Class

TCustomPgTimeStamp

Syntax

function Compare(Value: TCustomPgTimeStamp): integer; virtual; abstract;

Parameters
Value
Holds a TCustomPgTimeStamp object to compare with.

Remarks

Call the Compare method to compare two TCustomPgTimeStamp objects.

If the current object represent date and time that is greater than Value, Compare returns a positive number.

If the current object represent date and time that is lower than Value, Compare returns a negative number.

If the current object equals to Value, Compare returns 0.

© 1997-2020 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback