25 #include "operators.h" 29 namespace detail {
template <u
int64_t T>
class accessor; }
53 template<u
int64_t stepconv>
asap::detail::accessor< stepconv > every(const asap::duration< stepconv > &d) const
Returns an accessor that can be used to iterate between the beginning and the end dates...
const asap::datetime & from() const
Returns an asap::datetime instance marking the beginning of the period.
period(const asap::datetime &a=asap::datetime(), const asap::datetime &b=asap::datetime())
Creates a new peeriod starting at a and ending at b.
The asap::datetime class exposes methods to create, manipulate and print dates.
const asap::datetime & to() const
Returns an asap::datetime instance marking the end of the period.
The asap::duration class exposes methods to create, manipulate and print durations.
The asap::period class is a bound period, with starting and ending dates. Its purpose is to provide d...
T difference() const
Calculates the difference between the start and the end.