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

Method setMonth

src/utilities/filetypes/EpwFile.cpp:1724–1731  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1722}
1723
1724bool EpwDataPoint::setMonth(int month) {
1725 if (1 > month || 12 < month) {
1726 LOG_FREE(Error, "openstudio.EpwFile", "Month value " << month << " out of range");
1727 return false;
1728 }
1729 m_month = month;
1730 return true;
1731}
1732
1733bool EpwDataPoint::setMonth(const std::string& month) {
1734 bool ok;

Callers 1

fromEpwStringsMethod · 0.45

Calls 1

stringToIntegerFunction · 0.85

Tested by

no test coverage detected