source: git/tests/cmd_datebad.svx @ 00d94ee

RELEASE/1.2debug-cidebug-ci-sanitisersfaster-cavernlogstereowalls-datawalls-data-hanging-as-warning
Last change on this file since 00d94ee was e0c7cd1, checked in by Olly Betts <olly@…>, 19 years ago

cavern: Add validity checking for dates in *date commands with feature
test. A date entered as just "year" or "year.month" now becomes a date
range for the relevant period (previously it became a single date near
the middle of that period).

git-svn-id: file:///home/survex-svn/survex/branches/survex-1_1@3084 4b37db11-9a0c-4f06-9ece-9ab7cdaee568

  • Property mode set to 100644
File size: 689 bytes
Line 
1; invalid dates (leap year testing)
2*begin
3*date 1975.01.32
4*date 1975.02.29
5*date 1975.03.32
6*date 1975.04.31
7*date 1975.05.32
8*date 1975.06.31
9*date 1975.07.32
10*date 1975.08.32
11*date 1975.09.31
12*date 1975.10.32
13*date 1975.11.31
14*date 1975.12.32
15*date 1976.02.30
16*date 1976.03.32
17*date 1976.04.31
18*date 1976.05.32
19*date 1976.06.31
20*date 1976.07.32
21*date 1976.08.32
22*date 1976.09.31
23*date 1976.10.32
24*date 1976.11.31
25*date 1976.12.32
26*date 2000.01.32
27*date 2000.02.30
28*date 2000.03.32
29*date 2000.04.31
30*date 2000.05.32
31*date 2000.06.31
32*date 2000.07.32
33*date 2000.08.32
34*date 2000.09.31
35*date 2000.10.32
36*date 2000.11.31
37*date 2000.12.32
38*date 2000.01.32
39*fix 1 0 0 0
401 2 1.0 020 -03
41*end
Note: See TracBrowser for help on using the repository browser.