MonobjcMonobjc Documented Class Library
EarlierDate Method (anotherDate)
NamespacesMonobjc.FoundationNSDateEarlierDate(NSDate)

Returns the earlier of the receiver and another given date.

Original signature is '- (NSDate *)earlierDate:(NSDate *)anotherDate'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSDate EarlierDate(
	NSDate anotherDate
)
Public Overridable Function EarlierDate ( _
	anotherDate As NSDate _
) As NSDate
public:
virtual NSDate^ EarlierDate(
	NSDate^ anotherDate
)
Parameters
anotherDate (NSDate)
The date with which to compare the receiver.
Return Value
The earlier of the receiver and anotherDate, determined using timeIntervalSinceDate:. If the receiver and anotherDate represent the same date, returns the receiver.
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)