This repository was archived by the owner on Nov 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
class date
5cript edited this page Mar 16, 2017
·
4 revisions
A date object used for date format conversion.
| Members | Descriptions |
|---|---|
public date(std::chrono::system_clock::time_point time_point) |
Creates a time date object from a specific time point. |
public date() |
Creates a time date object from "system_clock::now". |
public std::chrono::system_clock::time_point & get_time_point() |
Returns a reference to the contained time point. |
public std::string to_gmt_string() const |
Converts the contained time point to a time format representation specified in RFC 2616 Section 3.3.1. |
Creates a time date object from a specific time point.
Creates a time date object from "system_clock::now".
Returns a reference to the contained time point.
Meant to be modified using STL means and ways. No need to reimplement the stuff here.
Converts the contained time point to a time format representation specified in RFC 2616 Section 3.3.1.