MonobjcMonobjc Documented Class Library
Compare Method (anotherDate)
NamespacesMonobjc.FoundationNSDateCompare(NSDate)

Returns an NSComparisonResult value that indicates the temporal ordering of the receiver and another given date.

Original signature is '- (NSComparisonResult)compare:(NSDate *)anotherDate'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSComparisonResult Compare(
	NSDate anotherDate
)
Public Overridable Function Compare ( _
	anotherDate As NSDate _
) As NSComparisonResult
public:
virtual NSComparisonResult Compare(
	NSDate^ anotherDate
)
Parameters
anotherDate (NSDate)
The date with which to compare the receiver.
Return Value
If:
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)