Return the number of days in this timetable's valid range.

Synopsis

Declared in <bdlt_timetable.h>

int
length() const;

Description

Return the number of days in the valid range of this timetable, which is defined to be 0 if this timetable is empty, and lastDate() ‐ firstDate() + 1 otherwise.

Return Value

number of days in the valid range

Created with MrDocs