diff options
author | John Wiegley <johnw@newartisans.com> | 2009-11-18 05:45:48 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-11-18 05:45:48 -0500 |
commit | e4b3f0bb3a74b799f0f67d8b2f1efeedad5e2021 (patch) | |
tree | 605879730937c258e41090302bff105c6d0a96a1 /test/regress/7F3650FD.test | |
parent | 7fe369eb492f737f570d0ccf4aaf5db68f900279 (diff) | |
download | fork-ledger-e4b3f0bb3a74b799f0f67d8b2f1efeedad5e2021.tar.gz fork-ledger-e4b3f0bb3a74b799f0f67d8b2f1efeedad5e2021.tar.bz2 fork-ledger-e4b3f0bb3a74b799f0f67d8b2f1efeedad5e2021.zip |
The new period parser is passing all tests
Diffstat (limited to 'test/regress/7F3650FD.test')
-rw-r--r-- | test/regress/7F3650FD.test | 69 |
1 files changed, 57 insertions, 12 deletions
diff --git a/test/regress/7F3650FD.test b/test/regress/7F3650FD.test index dce5233f..f7154eb8 100644 --- a/test/regress/7F3650FD.test +++ b/test/regress/7F3650FD.test @@ -1,50 +1,95 @@ period --now=2010/11/01 12/01 <<< >>>1 -global details => +--- Period expression tokens --- +TOK_DATE: month Dec day 1 +END_REACHED: <EOF> - start: 09-Dec-01 - finish: 09-Dec-02 - factor: 1 +--- Before stabilization --- + range: in month Dec day 1 + +--- After stabilization --- + range: in month Dec day 1 + start: 10-Dec-01 + finish: 10-Dec-02 + +--- Sample dates in range (max. 20) --- + 1: 10-Dec-01 >>>2 === 0 period --now=2010/11/01 10/01 <<< >>>1 -global details => +--- Period expression tokens --- +TOK_DATE: month Oct day 1 +END_REACHED: <EOF> + +--- Before stabilization --- + range: in month Oct day 1 +--- After stabilization --- + range: in month Oct day 1 start: 10-Oct-01 finish: 10-Oct-02 - factor: 1 + +--- Sample dates in range (max. 20) --- + 1: 10-Oct-01 >>>2 === 0 period --now=2010/11/01 2009/10 <<< >>>1 -global details => +--- Period expression tokens --- +TOK_DATE: year 2009 month Oct +END_REACHED: <EOF> + +--- Before stabilization --- + range: in year 2009 month Oct +--- After stabilization --- + range: in year 2009 month Oct start: 09-Oct-01 finish: 09-Nov-01 - factor: 1 + +--- Sample dates in range (max. 20) --- + 1: 09-Oct-01 >>>2 === 0 period --now=2010/11/01 2009/10/01 <<< >>>1 -global details => +--- Period expression tokens --- +TOK_DATE: year 2009 month Oct day 1 +END_REACHED: <EOF> + +--- Before stabilization --- + range: in year 2009 month Oct day 1 +--- After stabilization --- + range: in year 2009 month Oct day 1 start: 09-Oct-01 finish: 09-Oct-02 - factor: 1 + +--- Sample dates in range (max. 20) --- + 1: 09-Oct-01 >>>2 === 0 period --now=2010/11/01 2009 <<< >>>1 -global details => +--- Period expression tokens --- +TOK_A_YEAR: 2009 +END_REACHED: <EOF> +--- Before stabilization --- + range: in year 2009 + +--- After stabilization --- + range: in year 2009 start: 09-Jan-01 finish: 10-Jan-01 - factor: 1 + +--- Sample dates in range (max. 20) --- + 1: 09-Jan-01 >>>2 === 0 |