Structure

CFGregorianDate

Structure used to represent a point in time using the Gregorian calendar.

Declaration

typedef struct {
    ...
} CFGregorianDate;

Overview

CFGregorianDate is implemented using the smallest data type appropriate for the range of possible values. For example, there are only 12 months in the Gregorian year, so there is no need to use an integer type larger than 8 bits. To represent a time interval in Gregorian units, use a CFGregorianUnits.

The month and day units are 1-based: the index for January is 1, and the index for the first day of the month is 1.

Topics

Instance Properties