MonobjcMonobjc Documented Class Library
InitWithTimeIntervalSinceDate Method (seconds, refDate)
NamespacesMonobjc.FoundationNSDateInitWithTimeIntervalSinceDate(Double, NSDate)

Returns an NSDate object initialized relative to another given date by a given number of seconds.

Original signature is '- (id)initWithTimeInterval:(NSTimeInterval)seconds sinceDate:(NSDate *)refDate'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id InitWithTimeIntervalSinceDate(
	double seconds,
	NSDate refDate
)
Public Overridable Function InitWithTimeIntervalSinceDate ( _
	seconds As Double, _
	refDate As NSDate _
) As Id
public:
virtual Id^ InitWithTimeIntervalSinceDate(
	double seconds, 
	NSDate^ refDate
)
Parameters
seconds (Double)
The number of seconds to add to refDate. A negative value means the receiver will be earlier than refDate.
refDate (NSDate)
The reference date.
Return Value
An NSDate object initialized relative to refDate by seconds seconds.
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)