Date range for date_range_facet.
More...
#include <couchbase/date_range.hxx>
|
| date_range (std::string name, std::string start, std::string end) |
|
| date_range (std::string name, std::chrono::system_clock::time_point start, std::chrono::system_clock::time_point end) |
|
| date_range (std::string name, std::tm start, std::tm end) |
|
auto | name () const -> const std::string & |
|
auto | start () const -> const std::optional< std::string > & |
|
auto | end () const -> const std::optional< std::string > & |
|
Date range for date_range_facet.
◆ date_range() [1/3]
date_range |
( |
std::string | name, |
|
|
std::string | start, |
|
|
std::string | end ) |
◆ date_range() [2/3]
date_range |
( |
std::string | name, |
|
|
std::chrono::system_clock::time_point | start, |
|
|
std::chrono::system_clock::time_point | end ) |
◆ date_range() [3/3]
date_range |
( |
std::string | name, |
|
|
std::tm | start, |
|
|
std::tm | end ) |
◆ end()
auto end |
( |
| ) |
const -> const std::optional<std::string>&
|
|
inlinenodiscard |
◆ name()
auto name |
( |
| ) |
const -> const std::string&
|
|
inlinenodiscard |
◆ start()
auto start |
( |
| ) |
const -> const std::optional<std::string>&
|
|
inlinenodiscard |
◆ with_end() [1/3]
static date_range with_end |
( |
std::string | name, |
|
|
std::chrono::system_clock::time_point | end ) |
|
static |
◆ with_end() [2/3]
static date_range with_end |
( |
std::string | name, |
|
|
std::string | end ) |
|
static |
◆ with_end() [3/3]
static date_range with_end |
( |
std::string | name, |
|
|
std::tm | end ) |
|
static |
◆ with_start() [1/3]
static date_range with_start |
( |
std::string | name, |
|
|
std::chrono::system_clock::time_point | start ) |
|
static |
◆ with_start() [2/3]
static date_range with_start |
( |
std::string | name, |
|
|
std::string | start ) |
|
static |
◆ with_start() [3/3]
static date_range with_start |
( |
std::string | name, |
|
|
std::tm | start ) |
|
static |
The documentation for this class was generated from the following file: