BloombergLP::bdlt::Timetable::Timetable

Create a timetable having a valid range from the specified firstDate through the specified lastDate and having the optionally specified initialTransitionCode. If initialTransitionCode is not specified, the initial transition code is set to k_UNSET_TRANSITION_CODE. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used. The behavior is undefined unless firstDate <= lastDate, and 0 <= initialTransitionCode or k_UNSET_TRANSITION_CODE == initialTransitionCode.

Synopsis

Declared in <bdlt_timetable.h>

Timetable(
    Date const& firstDate,
    Date const& lastDate,
    int initialTransitionCode = k_UNSET_TRANSITION_CODE,
    bslma::Allocator* basicAllocator = 0);