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.
lastDate() - firstDate() + 1
Declared in <bdlt_packedcalendar.h>
<bdlt_packedcalendar.h>
int length() const;