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

Method setHour

src/utilities/filetypes/EpwFile.cpp:1770–1777  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1768}
1769
1770bool EpwDataPoint::setHour(int hour) {
1771 if (1 > hour || 24 < hour) {
1772 LOG_FREE(Error, "openstudio.EpwFile", "Hour value " << hour << " out of range");
1773 return false;
1774 }
1775 m_hour = hour;
1776 return true;
1777}
1778
1779bool EpwDataPoint::setHour(const std::string& hour) {
1780 bool ok;

Callers 1

fromEpwStringsMethod · 0.80

Calls 1

stringToIntegerFunction · 0.85

Tested by

no test coverage detected