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

Method setDay

src/utilities/filetypes/EpwFile.cpp:1747–1754  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1745}
1746
1747bool EpwDataPoint::setDay(int day) {
1748 if (1 > day || 31 < day) {
1749 LOG_FREE(Error, "openstudio.EpwFile", "Day value " << day << " out of range");
1750 return false;
1751 }
1752 m_day = day;
1753 return true;
1754}
1755
1756bool EpwDataPoint::setDay(const std::string& day) {
1757 bool ok;

Callers 1

fromEpwStringsMethod · 0.80

Calls 1

stringToIntegerFunction · 0.85

Tested by

no test coverage detected