ComparisonEngineCompareDateTime Method |
Compares a DateTime value using the specified ValueOperator
Namespace: Lithnet.MetadirectoryServicesAssembly: Lithnet.MetadirectoryServices (in Lithnet.MetadirectoryServices.dll) Version: 1.0.6017.24765
Syntax public static bool CompareDateTime(
DateTime actualValue,
DateTime expectedValue,
ValueOperator valueOperator
)
Public Shared Function CompareDateTime (
actualValue As DateTime,
expectedValue As DateTime,
valueOperator As ValueOperator
) As Boolean
public:
static bool CompareDateTime(
DateTime actualValue,
DateTime expectedValue,
ValueOperator valueOperator
)
Parameters
- actualValue
- Type: SystemDateTime
The value obtained from the query - expectedValue
- Type: SystemDateTime
The expected value specified in the query logic - valueOperator
- Type: Lithnet.MetadirectoryServicesValueOperator
The value operator to use in the comparison
Return Value
Type:
BooleanA boolean value indicating if the actual and expected value matched when using the specified ValueOperator
See Also