MCPcopy Create free account
hub / github.com/JosephP91/curlcpp / set_hour

Method set_hour

src/cookie_time.cpp:18–21  ·  view source on GitHub ↗

Implementation of set_hour method.

Source from the content-addressed store, hash-verified

16
17// Implementation of set_hour method.
18curl::cookie_time *curl::cookie_time::set_hour(unsigned int _hour) NOEXCEPT {
19 this->hour = _hour > 23 ? 0 : _hour;
20 return this;
21}
22
23// Implementation of set_minutes method.
24curl::cookie_time *curl::cookie_time::set_minutes(unsigned int _minutes) NOEXCEPT {

Callers 1

cookie_timeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected