Implementation of set_day method.
| 27 | |
| 28 | // Implementation of set_day method. |
| 29 | curl::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. |
| 35 | curl::cookie_date *curl::cookie_date::set_month(const unsigned int cookieMonth) { |