diff options
author | John Wiegley <johnw@newartisans.com> | 2007-04-20 02:13:48 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 03:38:28 -0400 |
commit | 539370ff1b37772e9f11439f652ffd3583beeedb (patch) | |
tree | 69e8b0a0aee571d7335eae4c6693829745de1484 /balance.h | |
parent | 0a6b5726ec3bf402a953ea8a03b98ecbf4b90b0c (diff) | |
download | fork-ledger-539370ff1b37772e9f11439f652ffd3583beeedb.tar.gz fork-ledger-539370ff1b37772e9f11439f652ffd3583beeedb.tar.bz2 fork-ledger-539370ff1b37772e9f11439f652ffd3583beeedb.zip |
More refactoring
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(); } |