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

Method resetCalendarYear

src/model/Model.cpp:1023–1029  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1021 }
1022
1023 void Model_Impl::resetCalendarYear() {
1024 if (!m_cachedYearDescription) {
1025 m_cachedYearDescription = this->model().getUniqueModelObject<YearDescription>();
1026 }
1027 OS_ASSERT(m_cachedYearDescription);
1028 m_cachedYearDescription->resetCalendarYear();
1029 }
1030
1031 bool Model_Impl::setDayofWeekforStartDay(const std::string& dayofWeekforStartDay) {
1032 if (!m_cachedYearDescription) {

Callers 1

TEST_FFunction · 0.45

Calls 2

modelMethod · 0.95

Tested by 1

TEST_FFunction · 0.36