CFDateCompare

Header: CFDate.h Carbon status: Supported

Compares two CFDates and returns the result as a standard Core Foundation comparison result.

CFComparisonResult CFDateCompare (
    CFDateRef date, 
    CFDateRef otherDate, 
    void *context
);
Parameter descriptions
date

The first CFDate object you wish to compare.

otherDate

The second CFDate object you wish to compare.

context

Pass NULL.

function result

Indicates whether the first CFDate is equal to, less than, or greater than the second CFDate. The comparison result is returned as a CFComparisonResult.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)