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

Method set_day

src/cookie_date.cpp:29–32  ·  view source on GitHub ↗

Implementation of set_day method.

Source from the content-addressed store, hash-verified

27
28// Implementation of set_day method.
29curl::cookie_date *curl::cookie_date::set_day(const unsigned int cookieDay) NOEXCEPT {
30 this->day = (cookieDay < 1 or cookieDay > 31) ? 1 : cookieDay;
31 return this;
32}
33
34// Implementation of set_month method.
35curl::cookie_date *curl::cookie_date::set_month(const unsigned int cookieMonth) {

Callers 1

cookie_dateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected