Return the number of days in the valid range of this calendar, which is defined to be 0 if this calendar is empty, and lastDate() - firstDate() + 1 otherwise.
Declared in <bdlt_packedcalendar.h>
int
length() const;
the number of days in the valid range of this calendar