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