diff options
author | John Wiegley <johnw@newartisans.com> | 2012-02-28 03:02:16 -0600 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-02-28 03:02:16 -0600 |
commit | 656e46e1823ce00285f08f72d8473a58f9bd561a (patch) | |
tree | 46b5c2b9a246ad7380bc0f570280b59d48f97be6 /src/post.h | |
parent | 7a55c7ffc1e3565c82c746ea66dbb6af2e3d8509 (diff) | |
download | fork-ledger-656e46e1823ce00285f08f72d8473a58f9bd561a.tar.gz fork-ledger-656e46e1823ce00285f08f72d8473a58f9bd561a.tar.bz2 fork-ledger-656e46e1823ce00285f08f72d8473a58f9bd561a.zip |
Renamed actual/effective dates to primary/auxiliary
Diffstat (limited to 'src/post.h')
-rw-r--r-- | src/post.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -123,8 +123,8 @@ public: virtual date_t value_date() const; virtual date_t date() const; - virtual date_t actual_date() const; - virtual optional<date_t> effective_date() const; + virtual date_t primary_date() const; + virtual optional<date_t> aux_date() const; string payee() const; @@ -230,7 +230,7 @@ public: { bool operator()(const post_t * left, const post_t * right) const { gregorian::date_duration duration = - left->actual_date() - right->actual_date(); + left->primary_date() - right->primary_date(); if (duration.days() == 0) { return ((left->pos ? left->pos->sequence : 0) < (right->pos ? right->pos->sequence : 0)); |