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

Method set_month

src/cookie_date.cpp:35–42  ·  view source on GitHub ↗

Implementation of set_month method.

Source from the content-addressed store, hash-verified

33
34// Implementation of set_month method.
35curl::cookie_date *curl::cookie_date::set_month(const unsigned int cookieMonth) {
36 try {
37 this->month = details::monthsNames.at(cookieMonth);
38 } catch (const out_of_range &) {
39 this->month = "Jan";
40 }
41 return this;
42}
43
44// Implementation of set_year method.
45curl::cookie_date *curl::cookie_date::set_year(const unsigned int cookieYear) NOEXCEPT {

Callers 1

cookie_dateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected