Carbon


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
);
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 CarbonLib 1.0 and later when CoreFoundationLib 1.0 or later is installed. Exported by CarbonLib 1.0 and later and by CoreFoundationLib 1.0 and later.


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