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

Method setDate

src/utilities/filetypes/EpwFile.cpp:1678–1682  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1676}
1677
1678void EpwDataPoint::setDate(Date date) {
1679 m_month = openstudio::month(date.monthOfYear());
1680 m_day = date.dayOfMonth();
1681 m_year = date.year();
1682}
1683
1684Time EpwDataPoint::time() const {
1685 return {0, m_hour, m_minute};

Callers

nothing calls this directly

Calls 4

monthFunction · 0.85
monthOfYearMethod · 0.80
dayOfMonthMethod · 0.45
yearMethod · 0.45

Tested by

no test coverage detected