CFGregorianUnits

Header: CFDate.h

Structure used to represent a time interval in Gregorian units.

struct CFGregorianUnits {
    SInt32 years; 
    SInt32 months; 
    SInt32 days; 
    SInt32 hours; 
    SInt32 minutes; 
    double seconds;
};

A CFGregorianUnits is used to represent arbitrary time intervals. Each field can take values up to the maximum possible for its data type. Negative values are also valid. To represent a point in time using Gregorian units, use a CFGregorianDate.


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