CFGregorianDateIsValid(_:_:)
Checks the specified fields of a CFGregorianDate structure for valid values.
Declaration
func CFGregorianDateIsValid(_ gdate: CFGregorianDate, _ unitFlags: CFOptionFlags) -> BoolParameters
- gdate:
The CFGregorianDate structure whose fields to validate.
- unitFlags:
A mask that specifies which Gregorian unit fields to validate. See Cfgregorianunitflags for a list of values from which to construct the mask.
Return Value
true if the specified fields are valid, otherwise false.