Implementation of set_seconds method.
| 28 | |
| 29 | // Implementation of set_seconds method. |
| 30 | curl::cookie_time *curl::cookie_time::set_seconds(unsigned int _seconds) NOEXCEPT { |
| 31 | this->seconds = _seconds > 59 ? 0 : _seconds; |
| 32 | return this; |
| 33 | } |
| 34 | |
| 35 | // Implementation of get_hour method. |
| 36 | unsigned int curl::cookie_time::get_hour() const NOEXCEPT { |