diff options
author | John Wiegley <johnw@newartisans.com> | 2010-02-04 19:47:16 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2010-02-05 00:00:29 -0500 |
commit | 9d61d3d621606f0158a048628c866a692465d886 (patch) | |
tree | 797067970e5b81543ece809d03bf5c7170b4a052 /src/item.h | |
parent | b78e22d52b75cafd63678ee786b1653afffa49e6 (diff) | |
download | fork-ledger-9d61d3d621606f0158a048628c866a692465d886.tar.gz fork-ledger-9d61d3d621606f0158a048628c866a692465d886.tar.bz2 fork-ledger-9d61d3d621606f0158a048628c866a692465d886.zip |
Added actual_date() methods for items
Diffstat (limited to 'src/item.h')
-rw-r--r-- | src/item.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -173,6 +173,10 @@ public: return *effective; return *_date; } + virtual date_t actual_date() const { + assert(_date); + return *_date; + } virtual optional<date_t> effective_date() const { return _date_eff; } |