Creates and returns a text checking result as a result of locating a date.
Original signature is '+ (NSTextCheckingResult *)dateCheckingResultWithRange:(NSRange)range date:(NSDate *)date timeZone:(NSTimeZone *)timeZone duration:(NSTimeInterval)duration'
Available in Mac OS X v10.6 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static NSTextCheckingResult DateCheckingResultWithRangeDateTimeZoneDuration( NSRange range, NSDate date, NSTimeZone timeZone, double duration )
Public Shared Function DateCheckingResultWithRangeDateTimeZoneDuration ( _ range As NSRange, _ date As NSDate, _ timeZone As NSTimeZone, _ duration As Double _ ) As NSTextCheckingResult
public: static NSTextCheckingResult^ DateCheckingResultWithRangeDateTimeZoneDuration( NSRange range, NSDate^ date, NSTimeZone^ timeZone, double duration )
Parameters
- range (NSRange)
- The range of the detected result.
- date (NSDate)
- The detected date.
- timeZone (NSTimeZone)
- The detected time zone.
- duration (Double)
- The detected duration.
Return Value
Returns an NSTextCheckingResult with the specified range and a resultType of NSTextCheckingTypeDate.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)