MCPcopy Create free account
hub / github.com/NatLabRockies/OpenStudio / applySunday

Method applySunday

src/model/ScheduleRule.cpp:119–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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);

Callers 5

applyWeekendsMethod · 0.95
containsDateMethod · 0.95
containsDatesMethod · 0.95
TEST_FFunction · 0.80
TEST_FFunction · 0.80

Calls 2

istringEqualFunction · 0.85
getMethod · 0.45

Tested by 2

TEST_FFunction · 0.64
TEST_FFunction · 0.64