Contents

CFDateCompare(_:_:_:)

Compares two CFDate objects and returns a comparison result.

Declaration

func CFDateCompare(_ theDate: CFDate!, _ otherDate: CFDate!, _ context: UnsafeMutableRawPointer!) -> CFComparisonResult

Parameters

  • theDate:

    The date to compare to otherDate.

  • otherDate:

    The date to compare to theDate.

  • context:

    Unused. Pass NULL.

Return Value

A CFComparisonResult value that indicates whether theDate is equal to, less than, or greater than otherDate.

See Also

CFDate Miscellaneous Functions