#include <times.h>
Public Types | |
enum | skip_quantum_t { DAYS , WEEKS , MONTHS , QUARTERS , YEARS } |
Public Member Functions | |
date_t | add (const date_t &date) const |
date_duration_t () | |
date_duration_t (const date_duration_t &dur) | |
date_duration_t (skip_quantum_t _quantum, int _length) | |
date_t | subtract (const date_t &date) const |
string | to_string () const |
~date_duration_t () throw () | |
Static Public Member Functions | |
static date_t | find_nearest (const date_t &date, skip_quantum_t skip) |
Public Attributes | |
int | length |
enum ledger::date_duration_t::skip_quantum_t | quantum |
|
inline |
Definition at line 164 of file times.h.
References TRACE_CTOR.
|
inline |
Definition at line 167 of file times.h.
References TRACE_CTOR.
|
inline |
Definition at line 171 of file times.h.
References TRACE_CTOR.
|
inline |
Definition at line 175 of file times.h.
References TRACE_DTOR.
|
static |
|
inline |
int ledger::date_duration_t::length |
Definition at line 162 of file times.h.
Referenced by add(), subtract(), and to_string().
enum ledger::date_duration_t::skip_quantum_t ledger::date_duration_t::quantum |
Referenced by add(), subtract(), and to_string().