| 117 | } |
| 118 | |
| 119 | bool ScheduleRule_Impl::applySunday() const { |
| 120 | boost::optional<std::string> value = getString(OS_Schedule_RuleFields::ApplySunday, true); |
| 121 | OS_ASSERT(value); |
| 122 | return openstudio::istringEqual(value.get(), "Yes"); |
| 123 | } |
| 124 | |
| 125 | bool ScheduleRule_Impl::applyMonday() const { |
| 126 | boost::optional<std::string> value = getString(OS_Schedule_RuleFields::ApplyMonday, true); |