| 402 | } |
| 403 | |
| 404 | boost::optional<unsigned> UtilityBill_Impl::timestepsInPeakDemandWindow() const { |
| 405 | if (this->fuelType() == FuelType::Electricity) { |
| 406 | return getUnsigned(OS_UtilityBillFields::TimestepsinPeakDemandWindow, true); |
| 407 | } |
| 408 | return boost::none; |
| 409 | } |
| 410 | |
| 411 | bool UtilityBill_Impl::isTimestepsInPeakDemandWindowDefaulted() const { |
| 412 | return isEmpty(OS_UtilityBillFields::TimestepsinPeakDemandWindow); |
no test coverage detected