datetime_t and date_t objects More...
#include "utils.h"
Go to the source code of this file.
Classes | |
struct | ledger::date_duration_t |
class | ledger::date_error |
class | ledger::date_interval_t |
class | ledger::date_range_t |
class | ledger::date_specifier_or_range_t |
class | ledger::date_specifier_t |
struct | ledger::date_traits_t |
class | ledger::datetime_error |
Namespaces | |
namespace | ledger |
Macros | |
#define | CURRENT_DATE() (epoch ? epoch->date() : boost::gregorian::day_clock::local_day()) |
#define | CURRENT_TIME() (epoch ? *epoch : TRUE_CURRENT_TIME()) |
#define | TRUE_CURRENT_TIME() (boost::posix_time::second_clock::local_time()) |
Typedefs | |
typedef boost::gregorian::date_iterator | ledger::date_iterator_t |
typedef boost::gregorian::date | ledger::date_t |
typedef boost::posix_time::ptime | ledger::datetime_t |
typedef datetime_t::time_duration_type | ledger::time_duration_t |
Enumerations | |
enum | ledger::format_type_t { ledger::FMT_WRITTEN , ledger::FMT_PRINTED , ledger::FMT_CUSTOM } |
Variables | |
optional< datetime_t > | ledger::epoch |
date_time::weekdays | ledger::start_of_week |
datetime_t and date_t objects
Definition in file times.h.
#define CURRENT_DATE | ( | ) | (epoch ? epoch->date() : boost::gregorian::day_clock::local_day()) |
#define CURRENT_TIME | ( | ) | (epoch ? *epoch : TRUE_CURRENT_TIME()) |