| 229 | } |
| 230 | |
| 231 | openstudio::Date YearDescription_Impl::makeDate(openstudio::MonthOfYear monthOfYear, unsigned dayOfMonth) { |
| 232 | boost::optional<int> year = this->calendarYear(); |
| 233 | if (!year) { |
| 234 | year = this->assumedYear(); |
| 235 | } |
| 236 | |
| 237 | return {monthOfYear, dayOfMonth, *year}; |
| 238 | } |
| 239 | |
| 240 | openstudio::Date YearDescription_Impl::makeDate(unsigned monthOfYear, unsigned dayOfMonth) { |
| 241 | return makeDate(openstudio::MonthOfYear(monthOfYear), dayOfMonth); |
nothing calls this directly
no test coverage detected