24 LegDate::LegDate (
const LegDate& iLegDate) :
27 _offPoint (iLegDate._offPoint),
28 _boardingDate (iLegDate._boardingDate),
29 _boardingTime (iLegDate._boardingTime),
30 _offDate (iLegDate._offDate),
31 _offTime (iLegDate._offTime ),
32 _elapsedTime (iLegDate._elapsedTime),
33 _distance (iLegDate._distance),
34 _capacity (iLegDate._capacity) {
38 LegDate::LegDate (
const Key_T& iKey)
51 assert (lFlightDate_ptr != NULL);
57 std::ostringstream oStr;
66 assert (lFlightDate_ptr != NULL);
67 std::ostringstream oStr;
78 BomManager::getObjectPtr<LegCabin> (*
this, iLegCabinKeyStr);
95 const Duration_T lDateOffsetInHours (lDateOffset.days() * 24, 0, 0);
108 updateDistanceFromElapsedTime();
112 void LegDate::updateDistanceFromElapsedTime() {
114 const double lElapseInHours =