diff options
Diffstat (limited to 'balance.h')
-rw-r--r-- | balance.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -430,9 +430,9 @@ class balance_t amount_t amount(const commodity_t& commodity = *commodity_t::null_commodity) const; - balance_t value(const ptime& moment = now) const; + balance_t value(const moment_t& moment = now) const; balance_t price() const; - ptime date() const; + moment_t date() const; balance_t strip_annotations(const bool keep_price = amount_t::keep_price, @@ -889,13 +889,13 @@ class balance_pair_t *commodity_t::null_commodity) const { return quantity.amount(commodity); } - balance_t value(const ptime& moment = now) const { + balance_t value(const moment_t& moment = now) const { return quantity.value(moment); } balance_t price() const { return quantity.price(); } - ptime date() const { + moment_t date() const { return quantity.date(); } |