summaryrefslogtreecommitdiff
path: root/src/account.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-03-13 03:42:11 -0500
committerJohn Wiegley <johnw@newartisans.com>2012-03-13 03:42:11 -0500
commit2932e05c1841d7154c83ead89f15a664e09ecbf0 (patch)
tree68277a94f83ea711a4f636433a9d7f9c5b94b817 /src/account.h
parentcfe8142b2b371dd40867e010b6b6c58fe864ba21 (diff)
downloadfork-ledger-2932e05c1841d7154c83ead89f15a664e09ecbf0.tar.gz
fork-ledger-2932e05c1841d7154c83ead89f15a664e09ecbf0.tar.bz2
fork-ledger-2932e05c1841d7154c83ead89f15a664e09ecbf0.zip
Account valexprs: earliest_checkin, latest_checkout
Lets you access the earliest/latest checkin/checkout times for timelog entries in an account. Will be NULL if the account doesn't contain any.
Diffstat (limited to 'src/account.h')
-rw-r--r--src/account.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/account.h b/src/account.h
index 95e04079..4ddd85e7 100644
--- a/src/account.h
+++ b/src/account.h
@@ -170,6 +170,9 @@ public:
date_t latest_post;
date_t latest_cleared_post;
+ datetime_t earliest_checkin;
+ datetime_t latest_checkout;
+
std::set<path> filenames;
std::set<string> accounts_referenced;
std::set<string> payees_referenced;