MongoDB C++ Driver
mongocxx-3.7.0
|
A BSON date value. More...
#include <types.hpp>
Public Member Functions | |
b_date (std::chrono::milliseconds value) | |
Constructor for b_date. More... | |
b_date (const std::chrono::system_clock::time_point &tp) | |
Constructor for b_date. More... | |
operator int64_t () const | |
Conversion operator unwrapping a int64_t. | |
int64_t | to_int64 () const |
Manually convert this b_date to an int64_t. | |
operator std::chrono::system_clock::time_point () const | |
Conversion operator unwrapping a time_point. | |
Related Functions | |
(Note that these are not member functions.) | |
bool | operator== (const b_date &lhs, const b_date &rhs) |
free function comparator for b_date | |
A BSON date value.
|
inlineexplicit |
Constructor for b_date.
value | Milliseconds since the system_clock epoch. |
|
inlineexplicit |
Constructor for b_date.
tp | A system_clock time_point. |