summaryrefslogtreecommitdiff
path: root/balance.h
diff options
context:
space:
mode:
Diffstat (limited to 'balance.h')
-rw-r--r--balance.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/balance.h b/balance.h
index 5270c1a0..f0cb0563 100644
--- a/balance.h
+++ b/balance.h
@@ -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();
}