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 320 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 330 of file times.h.

References TRACE_CTOR.

◆ date_range_t() [2/2]

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

Definition at line 336 of file times.h.

References TRACE_CTOR.

◆ ~date_range_t()

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

Definition at line 341 of file times.h.

References TRACE_DTOR.

Member Function Documentation

◆ begin()

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

Definition at line 345 of file times.h.

References ledger::downcast().

Referenced by is_within().

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

◆ end()

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

Definition at line 351 of file times.h.

References ledger::downcast().

Referenced by is_within().

+ Here is the call graph for this function:
+ 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 362 of file times.h.

References begin(), ledger::downcast(), and end().

+ Here is the call graph for this function:

◆ to_string()

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

Definition at line 370 of file times.h.

Friends And Related Symbol Documentation

◆ date_parser_t

friend class date_parser_t
friend

Definition at line 322 of file times.h.


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