21 : _dateRange (iDateRange), _dow (iDoW) {
26 : _dateRange (iPeriodStruct._dateRange), _dow (iPeriodStruct._dow) {
32 std::ostringstream ostr;
39 std::ostringstream ostr;
40 ostr << _dateRange <<
", " << _dow.
describe ();
50 lNewDateRange.shift (iDateOffset);
54 const long lNbOfDaysOffset = iDateOffset.days();
65 _dateRange.intersection (iPeriodStruct._dateRange);
73 if (_dateRange.is_null() ==
false && _dow.
isValid()) {
PeriodStruct addDateOffset(const DateOffset_T &) const
const bool isValid() const
Handle on the StdAir library context.
const std::string describe() const
const DatePeriod_T BOOST_DEFAULT_DATE_PERIOD
const std::string describeShort() const
const bool isValid() const
const std::string describeShort() const
const DatePeriod_T & getDateRange() const
PeriodStruct intersection(const PeriodStruct &) const
DoWStruct shift(const long &) const
const DoWStruct & getDoW() const
boost::gregorian::date_period DatePeriod_T
boost::gregorian::date_duration DateOffset_T
const std::string describe() const
DoWStruct intersection(const DoWStruct &) const