CFGregorianDateIsValid

Header: CFDate.h Carbon status: Under Evaluation

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

Boolean CFGregorianDateIsValid (
    CFGregorianDate gdate, 
    CFOptionFlags unitFlags
);
Parameter descriptions
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

Under evaluation for Carbon. Available in Carbon 1.0.2 and later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)