Instance Property

validDate

A Boolean value that indicates whether the current combination of properties represents a date which exists in the current calendar.

Declaration

@property(getter=isValidDate, readonly) BOOL validDate;

Discussion

If the timeZone property is set on the receiver, the time zone property value is used. If the calendar property is not set on the receiver, nil is returned.

See Also

Validating a Date

- isValidDateInCalendar:

Returns a Boolean value that indicates whether the current combination of properties represents a date which exists in the specified calendar.

date

The date calculated from the current components using the stored calendar.

Undefined Components

Constants that denote that the value of a date component is undefined.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software