6 #include "knowrob/TimeInterval.h"
19 static const TimeInterval timeInterval(std::nullopt, std::nullopt);
std::optional< TimePoint > until_
static TimeInterval during(const TimePoint &begin, const TimePoint &end)
std::shared_ptr< TimeInterval > intersectWith(const TimeInterval &other) const
bool operator==(const TimeInterval &other) const
std::optional< TimePoint > since_
static const TimeInterval & anytime()
static TimeInterval currently()
TimeInterval(const std::optional< TimePoint > &since, const std::optional< TimePoint > &until)
void write(std::ostream &os) const override
const auto & since() const
const auto & until() const
void write(const TimePoint &tp, std::ostream &os)
std::chrono::time_point< std::chrono::system_clock, std::chrono::seconds > TimePoint