NSCalendar.IsEqualToUnitGranularity(NSDate, NSDate, NSCalendarUnit) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[Foundation.Export("isDate:equalToDate:toUnitGranularity:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool IsEqualToUnitGranularity (Foundation.NSDate date1, Foundation.NSDate date2, Foundation.NSCalendarUnit unit);
abstract member IsEqualToUnitGranularity : Foundation.NSDate * Foundation.NSDate * Foundation.NSCalendarUnit -> bool
override this.IsEqualToUnitGranularity : Foundation.NSDate * Foundation.NSDate * Foundation.NSCalendarUnit -> bool
Parameters
- date1
- NSDate
- date2
- NSDate
- unit
- NSCalendarUnit
Returns
- Attributes