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

Method set_week_day

src/cookie_date.cpp:19–26  ·  view source on GitHub ↗

Implementation of set_week_day method.

Source from the content-addressed store, hash-verified

17
18// Implementation of set_week_day method.
19curl::cookie_date *curl::cookie_date::set_week_day(const unsigned int weekDay) NOEXCEPT {
20 try {
21 this->week_day = details::weekdayNames.at(weekDay);
22 } catch (const out_of_range &) {
23 this->week_day = "Mon";
24 }
25 return this;
26}
27
28// Implementation of set_day method.
29curl::cookie_date *curl::cookie_date::set_day(const unsigned int cookieDay) NOEXCEPT {

Callers 1

cookie_dateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected