Indicates whether the current combination of properties represents a date which exists in the current calendar.
- iOS 8.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
- Xcode 6.0.1+
This method is not appropriate for use on
Date values which are specifying relative quantities of calendar components.
Except for some trivial cases (e.g., ‘seconds’ should be 0 - 59 in any calendar), this method is not necessarily cheap.
If the time zone property is set in the
Date, it is used.
The calendar property must be set, or the result is always