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

Method isLeapYear

src/model/Model.cpp:999–1005  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

997 }
998
999 bool Model_Impl::isLeapYear() const {
1000 if (!m_cachedYearDescription) {
1001 m_cachedYearDescription = this->model().getUniqueModelObject<YearDescription>();
1002 }
1003 OS_ASSERT(m_cachedYearDescription);
1004 return m_cachedYearDescription->isLeapYear();
1005 }
1006
1007 bool Model_Impl::isIsLeapYearDefaulted() const {
1008 if (!m_cachedYearDescription) {

Callers 3

TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45

Calls 2

modelMethod · 0.95

Tested by 3

TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36