diff options
author | John Wiegley <johnw@newartisans.com> | 2010-06-22 20:51:18 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2010-06-22 20:51:18 -0400 |
commit | 205dd3a1ee41dec370fc4ff05412e72d42977a3b (patch) | |
tree | 744e35d34ca17b9b381102cf65e5d8eaf7cb3c46 /src/item.h | |
parent | 26a94fb1edef67bba7651f388ed25f29f1e6c38a (diff) | |
download | fork-ledger-205dd3a1ee41dec370fc4ff05412e72d42977a3b.tar.gz fork-ledger-205dd3a1ee41dec370fc4ff05412e72d42977a3b.tar.bz2 fork-ledger-205dd3a1ee41dec370fc4ff05412e72d42977a3b.zip |
Added has_date() method to item_t
Diffstat (limited to 'src/item.h')
-rw-r--r-- | src/item.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -175,6 +175,10 @@ public: static bool use_effective_date; + virtual bool has_date() const { + return _date; + } + virtual date_t date() const { assert(_date); if (use_effective_date) |