#include <times.h>
Public Types | |
typedef date_t::day_of_week_type | day_of_week_type |
typedef date_t::day_type | day_type |
typedef date_t::month_type | month_type |
typedef unsigned short | year_type |
Public Member Functions | |
date_t | begin () const |
date_specifier_t (const date_specifier_t &other) | |
date_specifier_t (const date_t &date, const optional< date_traits_t > &traits=none) | |
date_specifier_t (const optional< year_type > &_year=none, const optional< month_type > &_month=none, const optional< day_type > &_day=none, const optional< day_of_week_type > &_wday=none) | |
date_t | end () const |
optional< date_duration_t > | implied_duration () const |
bool | is_within (const date_t &date) const |
string | to_string () const |
~date_specifier_t () throw () | |
Protected Attributes | |
optional< day_type > | day |
optional< month_type > | month |
optional< day_of_week_type > | wday |
optional< year_type > | year |
Friends | |
class | date_parser_t |
typedef date_t::day_of_week_type ledger::date_specifier_t::day_of_week_type |
typedef date_t::day_type ledger::date_specifier_t::day_type |
typedef date_t::month_type ledger::date_specifier_t::month_type |
|
inline |
Definition at line 258 of file times.h.
References TRACE_CTOR.
|
inline |
Definition at line 266 of file times.h.
References day, ledger::downcast(), month, TRACE_CTOR, and year.
|
inline |
Definition at line 277 of file times.h.
References TRACE_CTOR.
|
inline |
Definition at line 282 of file times.h.
References TRACE_DTOR.
date_t ledger::date_specifier_t::begin | ( | ) | const |
date_t ledger::date_specifier_t::end | ( | ) | const |
|
inline |
Definition at line 293 of file times.h.
References day, ledger::date_duration_t::DAYS, ledger::downcast(), month, ledger::date_duration_t::MONTHS, wday, year, and ledger::date_duration_t::YEARS.
|
inline |
Definition at line 254 of file times.h.
Referenced by date_specifier_t(), implied_duration(), and to_string().
|
protected |
Definition at line 253 of file times.h.
Referenced by date_specifier_t(), implied_duration(), and to_string().
|
protected |
Definition at line 255 of file times.h.
Referenced by implied_duration(), and to_string().
Definition at line 252 of file times.h.
Referenced by date_specifier_t(), implied_duration(), and to_string().