A BSON date value.
More...
#include <types.hpp>
|
| b_date (int64_t value) |
| Constructor for b_date.
|
|
| b_date (const std::chrono::system_clock::time_point &tp) |
| Constructor for b_date.
|
|
| operator int64_t () |
| Conversion operator unwrapping a int64_t.
|
|
| operator std::chrono::system_clock::time_point () |
| Conversion operator unwrapping a time_point.
|
|
◆ b_date() [1/2]
bsoncxx::types::b_date::b_date |
( |
int64_t |
value | ) |
|
|
inlineexplicit |
Constructor for b_date.
- Parameters
-
value | An int64_t representing milliseconds since the epoch. |
◆ b_date() [2/2]
bsoncxx::types::b_date::b_date |
( |
const std::chrono::system_clock::time_point & |
tp | ) |
|
|
inlineexplicit |
Constructor for b_date.
- Parameters
-
value | A system_clock time_point. |
◆ operator==()
free function comparator for b_date
The documentation for this struct was generated from the following file: