roar
Loading...
Searching...
No Matches
date.hpp
Go to the documentation of this file.
1#pragma once
2
3// RFC 2616 https://tools.ietf.org/html/rfc2616#section-3.3.1
4
5#include <string>
6#include <chrono>
7
8namespace Roar
9{
13 class date
14 {
15 public:
19 date(std::chrono::system_clock::time_point time_point);
20
24 date();
25
30 std::chrono::system_clock::time_point& getTimePoint();
31
36 std::string toGmtString() const;
37
38 private:
39 std::chrono::system_clock::time_point timePoint_;
40 };
41}
Definition date.hpp:14
date()
Definition date.cpp:28
std::chrono::system_clock::time_point timePoint_
Definition date.hpp:39
std::chrono::system_clock::time_point & getTimePoint()
Definition date.cpp:32
std::string toGmtString() const
Definition date.cpp:37
Definition authorization.hpp:10