diff options
author | John Wiegley <johnw@newartisans.com> | 2009-03-15 01:14:13 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-03-15 22:39:44 -0400 |
commit | a05353e26928464b485767cc843ec5b3d9e47040 (patch) | |
tree | e46fa45354ecebceeca8b631893aef4edb0d281c /src/xact.h | |
parent | 1889d449b6f7321d711c00a33f17adfbb986287e (diff) | |
download | fork-ledger-a05353e26928464b485767cc843ec5b3d9e47040.tar.gz fork-ledger-a05353e26928464b485767cc843ec5b3d9e47040.tar.bz2 fork-ledger-a05353e26928464b485767cc843ec5b3d9e47040.zip |
First iteration of the new date_interval_t rewrite
Diffstat (limited to 'src/xact.h')
-rw-r--r-- | src/xact.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -186,8 +186,8 @@ struct auto_xact_finalizer_t : public xact_finalizer_t class period_xact_t : public xact_base_t { public: - interval_t period; - string period_string; + date_interval_t period; + string period_string; period_xact_t() { TRACE_CTOR(period_xact_t, ""); @@ -206,7 +206,7 @@ class period_xact_t : public xact_base_t } virtual bool valid() const { - return period; + return period.is_valid(); } }; |