Returns a new NSDate object representing the absolute time calculated from given components.
Original signature is '- (NSDate *)dateFromComponents:(NSDateComponents *)comps'
Available in Mac OS X v10.4 and later.

C# | Visual Basic | Visual C++ |
public virtual NSDate DateFromComponents( NSDateComponents comps )
Public Overridable Function DateFromComponents ( _ comps As NSDateComponents _ ) As NSDate
public: virtual NSDate^ DateFromComponents( NSDateComponents^ comps )

- comps (NSDateComponents)
- The components from which to calculate the returned date.

A new NSDate object representing the absolute time calculated from comps. Returns nil if the receiver cannot convert the components given in comps into an absolute time. The method also returns nil and for out-of-range values.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)