summaryrefslogtreecommitdiff
path: root/src/xact.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-03-15 01:14:13 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-03-15 22:39:44 -0400
commita05353e26928464b485767cc843ec5b3d9e47040 (patch)
treee46fa45354ecebceeca8b631893aef4edb0d281c /src/xact.h
parent1889d449b6f7321d711c00a33f17adfbb986287e (diff)
downloadfork-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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xact.h b/src/xact.h
index 6f35a071..174a8cea 100644
--- a/src/xact.h
+++ b/src/xact.h
@@ -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();
}
};