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

Method set_seconds

src/cookie_time.cpp:30–33  ·  view source on GitHub ↗

Implementation of set_seconds method.

Source from the content-addressed store, hash-verified

28
29// Implementation of set_seconds method.
30curl::cookie_time *curl::cookie_time::set_seconds(unsigned int _seconds) NOEXCEPT {
31 this->seconds = _seconds > 59 ? 0 : _seconds;
32 return this;
33}
34
35// Implementation of get_hour method.
36unsigned int curl::cookie_time::get_hour() const NOEXCEPT {

Callers 1

cookie_timeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected