#include <bsoncxx/v1/types/view.hpp>
BSON type value "UTC Datetime".
- Attention
- This feature is experimental! It is not ready for use!
|
| | b_date ()=default |
| | Zero-initialize the represented value.
|
| | b_date (std::chrono::milliseconds value) |
| | Initialize with value (milliseconds relative to the Unix epoch).
|
| | b_date (std::chrono::system_clock::time_point tp) |
| | Initialize with tp (assuming the epoch of std::chrono::system_clock is the Unix epoch).
|
|
| std::chrono::milliseconds | value = {} |
| | The represented value (milliseconds relative to the Unix epoch).
|
◆ b_date() [1/3]
| bsoncxx::v1::types::b_date::b_date |
( |
| ) |
|
|
default |
Zero-initialize the represented value.
◆ b_date() [2/3]
| bsoncxx::v1::types::b_date::b_date |
( |
std::chrono::milliseconds | value | ) |
|
|
inlineexplicit |
Initialize with value (milliseconds relative to the Unix epoch).
◆ b_date() [3/3]
| bsoncxx::v1::types::b_date::b_date |
( |
std::chrono::system_clock::time_point | tp | ) |
|
|
inlineexplicit |
Initialize with tp (assuming the epoch of std::chrono::system_clock is the Unix epoch).
◆ operator!=
Equivalent to !(lhs == rhs).
◆ operator==
Equivalent to lhs.value == rhs.value.
◆ type_id
The type represented by this BSON type value.
◆ value
| std::chrono::milliseconds bsoncxx::v1::types::b_date::value = {} |
The represented value (milliseconds relative to the Unix epoch).
The documentation for this struct was generated from the following file: