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

Method get_formatted

src/cookie_time.cpp:51–55  ·  view source on GitHub ↗

Implementation of get_formatted method.

Source from the content-addressed store, hash-verified

49
50// Implementation of get_formatted method.
51std::string curl::cookie_time::get_formatted() const NOEXCEPT {
52 ostringstream stream;
53 stream<<this->get_hour()<<":"<<this->get_minutes()<<":"<<this->get_seconds()<<" GMT";
54 return stream.str();
55}

Callers

nothing calls this directly

Calls 3

get_hourMethod · 0.95
get_minutesMethod · 0.95
get_secondsMethod · 0.95

Tested by

no test coverage detected