Loading...
Searching...
No Matches
ledger::date_range_t Class Reference

#include <times.h>

Public Member Functions

optional< date_tbegin () const
 date_range_t (const date_range_t &other)
 date_range_t (const optional< date_specifier_t > &_range_begin=none, const optional< date_specifier_t > &_range_end=none)
optional< date_tend () const
bool is_within (const date_t &date) const
string to_string () const
 ~date_range_t () throw ()

Friends

class date_parser_t

Detailed Description

Definition at line 321 of file times.h.

Constructor & Destructor Documentation

◆ date_range_t() [1/2]

ledger::date_range_t::date_range_t ( const optional< date_specifier_t > & _range_begin = none,
const optional< date_specifier_t > & _range_end = none )
inline

Definition at line 331 of file times.h.

References date_range_t(), and TRACE_CTOR.

Referenced by date_range_t(), date_range_t(), and ~date_range_t().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ date_range_t() [2/2]

ledger::date_range_t::date_range_t ( const date_range_t & other)
inline

Definition at line 337 of file times.h.

References date_range_t(), and TRACE_CTOR.

Here is the call graph for this function:

◆ ~date_range_t()

ledger::date_range_t::~date_range_t ( )
throw ( )
inline

Definition at line 342 of file times.h.

References date_range_t(), and TRACE_DTOR.

Here is the call graph for this function:

Member Function Documentation

◆ begin()

optional< date_t > ledger::date_range_t::begin ( ) const
inline

Definition at line 346 of file times.h.

Referenced by is_within().

Here is the caller graph for this function:

◆ end()

optional< date_t > ledger::date_range_t::end ( ) const
inline

Definition at line 352 of file times.h.

Referenced by is_within().

Here is the caller graph for this function:

◆ is_within()

bool ledger::date_range_t::is_within ( const date_t & date) const
inline

Definition at line 363 of file times.h.

References begin(), and end().

Here is the call graph for this function:

◆ to_string()

string ledger::date_range_t::to_string ( ) const
inline

Definition at line 371 of file times.h.

◆ date_parser_t

friend class date_parser_t
friend

Definition at line 323 of file times.h.

References date_parser_t.

Referenced by date_parser_t.


The documentation for this class was generated from the following file: