Carbon


CFGregorianDateValidate

Header: CFDate.h Carbon status: Supported

Checks the specified fields of a CFGregorianDate structure for valid values.

Boolean CFGregorianDateValidate (
    CFGregorianDate gdate, 
    CFOptionFlags unitFlags
);
gdate

The GregorianDate structure whose fields you wish to validate.

unitFlags

Flags indicating which fields you wish to check for valid values. See Gregorian Unit Flags for possible values.

function result

TRUE if the specified fields are valid. Otherwise FALSE.

AVAILABILITY

Supported in Carbon.


© 2000 Apple Computer, Inc. — (Last Updated 3/8/2000)