Create a timetable with valid range [firstDate .. lastDate].
Synopsis
Declared in <bdlt_timetable.h>
Timetable(
Date const& firstDate,
Date const& lastDate,
int initialTransitionCode = k_UNSET_TRANSITION_CODE,
bslma::Allocator* basicAllocator = 0);
Description
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.
Parameters
Name |
Description |
firstDate |
first date of the valid range |
lastDate |
last date of the valid range |
initialTransitionCode |
initial transition code |
basicAllocator |
allocator used to supply memory |
Created with MrDocs