Implementation of set_hour method.
| 16 | |
| 17 | // Implementation of set_hour method. |
| 18 | curl::cookie_time *curl::cookie_time::set_hour(unsigned int _hour) NOEXCEPT { |
| 19 | this->hour = _hour > 23 ? 0 : _hour; |
| 20 | return this; |
| 21 | } |
| 22 | |
| 23 | // Implementation of set_minutes method. |
| 24 | curl::cookie_time *curl::cookie_time::set_minutes(unsigned int _minutes) NOEXCEPT { |