diff --git a/configure b/configure index 1079f62f..8cb60dfe 100755 --- a/configure +++ b/configure @@ -4032,7 +4032,7 @@ _ACEOF fi done -VERSION=03.03.09 +VERSION=03.03.10 ac_config_files="$ac_config_files src/Makefile www/Makefile src/version.h rem2html/Makefile" diff --git a/configure.in b/configure.in index 1e3c9b7a..c96b7171 100644 --- a/configure.in +++ b/configure.in @@ -76,7 +76,7 @@ if test "$GCC" = yes; then fi AC_CHECK_FUNCS(setenv unsetenv glob mbstowcs setlocale initgroups) -VERSION=03.03.09 +VERSION=03.03.10 AC_SUBST(VERSION) AC_SUBST(PERL) AC_OUTPUT(src/Makefile www/Makefile src/version.h rem2html/Makefile) diff --git a/man/remind.1 b/man/remind.1 index e977678b..0ec25548 100644 --- a/man/remind.1 +++ b/man/remind.1 @@ -423,6 +423,7 @@ Its syntax is: [\fBPRIORITY\fR \fIprio\fR] [\fBSKIP\fR | \fBBEFORE\fR | \fBAFTER\fR] [\fBOMIT\fR \fIomit_list\fR] +[\fBADDOMIT\fR] [\fBOMITFUNC\fR \fIomit_function\fR] [\fBAT\fR \fItime\fR [\fItdelta\fR] [\fItrepeat\fR]] [\fBSCHED\fR \fIsched_function\fR] @@ -991,6 +992,12 @@ omitted. For that reason, when \fBRemind\fR searches through omitted days, it terminates the search after the \fBSATISFY\fR iteration limit (command-line option \fB\-x\fR.) .PP +.B ADDING TRIGGER DATES TO THE OMIT CONTEXT +.PP +If the \fBADDOMIT\fR keyword appears in a \fBREM\fR command, then +the trigger date (if one could be calculated) is automatically +added to the list of global OMITs. +.PP .B TIMED REMINDERS .PP Timed reminders are those that have an \fBAT\fR keyword followed @@ -4762,9 +4769,7 @@ in September. It can move over a range of 7 days. Consider the following sequence: .PP .nf - REM Mon 1 Sept SCANFROM [today()\-7] SATISFY 1 - OMIT [trigdate()] - + REM Mon 1 Sept SCANFROM [today()\-7] ADDOMIT MSG Labour Day REM Mon AFTER MSG Hello .fi .PP @@ -4778,10 +4783,7 @@ a negative number \-N is interpreted as N days before today. Thus, the previous example could also be written like this: .PP .nf - # This form of SCANFROM requires Remind 03.01.17 or later. - REM Mon 1 Sept SCANFROM \-7 SATISFY 1 - OMIT [trigdate()] - + REM Mon 1 Sept SCANFROM \-7 ADDOMIT MSG Labour Day REM Mon AFTER MSG Hello .fi .PP diff --git a/src/dorem.c b/src/dorem.c index ba2ac4eb..6125813c 100644 --- a/src/dorem.c +++ b/src/dorem.c @@ -141,6 +141,14 @@ int DoRem(ParsePtr p) } } + /* Add to global OMITs if so indicated */ + if (trig.addomit) { + r = AddGlobalOmit(jul); + if (r) { + FreeTrig(&trig); + return r; + } + } if (PurgeMode) { if (trig.expired || jul < JulianToday) { if (p->expr_happened) { @@ -211,6 +219,7 @@ int ParseRem(ParsePtr s, Trigger *trig, TimeTrig *tim, int save_in_globals) trig->localomit = NO_WD; trig->skip = NO_SKIP; trig->once = NO_ONCE; + trig->addomit = 0; trig->typ = NO_TYPE; trig->scanfrom = NO_DATE; trig->from = NO_DATE; @@ -280,6 +289,7 @@ int ParseRem(ParsePtr s, Trigger *trig, TimeTrig *tim, int save_in_globals) break; case T_MaybeUncomputable: + DBufFree(&buf); trig->maybe_uncomputable = 1; break; @@ -374,6 +384,11 @@ int ParseRem(ParsePtr s, Trigger *trig, TimeTrig *tim, int save_in_globals) trig->once = ONCE_ONCE; break; + case T_AddOmit: + DBufFree(&buf); + trig->addomit = 1; + break; + case T_Omit: DBufFree(&buf); if (trig->omitfunc[0]) { diff --git a/src/omit.c b/src/omit.c index 955d58aa..db77c1fe 100644 --- a/src/omit.c +++ b/src/omit.c @@ -370,20 +370,30 @@ int DoOmit(ParsePtr p) NumPartialOmits++; } } else { - if (NumFullOmits == MAX_FULL_OMITS) return E_2MANY_FULL; if (d > DaysInMonth(m, y)) return E_BAD_DATE; syndrome = Julian(y, m, d); - if (!BexistsIntArray(FullOmitArray, NumFullOmits, syndrome)) { - InsertIntoSortedArray(FullOmitArray, NumFullOmits, syndrome); - NumFullOmits++; - } + r = AddGlobalOmit(syndrome); + if (r) { + return r; + } } if (tok.type == T_Tag || tok.type == T_Duration || tok.type == T_RemType || tok.type == T_Priority) return E_PARSE_AS_REM; return OK; } +int +AddGlobalOmit(int jul) +{ + if (NumFullOmits == MAX_FULL_OMITS) return E_2MANY_FULL; + if (!BexistsIntArray(FullOmitArray, NumFullOmits, jul)) { + InsertIntoSortedArray(FullOmitArray, NumFullOmits, jul); + NumFullOmits++; + } + return OK; +} + static int DoThroughOmit(ParsePtr p, int ystart, int mstart, int dstart) { diff --git a/src/protos.h b/src/protos.h index 7378a4d1..8feea9f5 100644 --- a/src/protos.h +++ b/src/protos.h @@ -163,3 +163,4 @@ void PrintJSONKeyPairDateTime(char const *name, int dt); void PrintJSONKeyPairTime(char const *name, int t); void System(char const *cmd); int ShellEscape(char const *in, DynamicBuffer *out); +int AddGlobalOmit(int jul); diff --git a/src/token.c b/src/token.c index c723c060..678b5233 100644 --- a/src/token.c +++ b/src/token.c @@ -37,7 +37,7 @@ while (isdigit(*(string))) { \ Keep this array sorted, or software will not work. */ Token TokArray[] = { /* NAME MINLEN TYPE VALUE */ - + { "addomit", 7, T_AddOmit, 0 }, { "after", 3, T_Skip, AFTER_SKIP }, { "april", 3, T_Month, 3 }, { "at", 2, T_At, 0 }, diff --git a/src/types.h b/src/types.h index 66fc8f64..20fd639b 100644 --- a/src/types.h +++ b/src/types.h @@ -74,6 +74,7 @@ typedef struct { int eventstart; /* Original event start (datetime) */ int eventduration; /* Original event duration (minutes) */ int maybe_uncomputable; /* Suppress "can't compute trigger" warnings */ + int addomit; /* Add trigger date to global OMITs */ char sched[VAR_NAME_LEN+1]; /* Scheduling function */ char warn[VAR_NAME_LEN+1]; /* Warning function */ char omitfunc[VAR_NAME_LEN+1]; /* OMITFUNC function */ @@ -153,6 +154,7 @@ enum TokTypes T_Rem, T_Push, T_Pop, T_Preserve, T_Include, T_IncludeCmd, T_If, T_Else, T_EndIf, T_IfTrig, T_ErrMsg, T_Set, T_UnSet, T_Fset, T_Omit, T_Banner, T_Exit, + T_AddOmit, T_WkDay, T_Month, T_Time, T_Date, T_DateTime, T_Skip, T_At, T_RemType, T_Until, T_Year, T_Day, T_Rep, T_Delta, T_Back, diff --git a/tests/test.cmp b/tests/test.cmp index 86c06aeb..01bc71f8 100644 --- a/tests/test.cmp +++ b/tests/test.cmp @@ -829,6 +829,19 @@ REM Wed UNTIL 1991-01-01 MSG Expired REM Wed SCANFROM 1991-02-26 MSG SCANFROM ../tests/test.rem(227): Trig = Wednesday, 27 February, 1991 +CLEAR-OMIT-CONTEXT +# Test ADDOMIT + +REM Mon 15 Feb ADDOMIT MSG Family Day +../tests/test.rem(232): Trig = Monday, 18 February, 1991 +REM Feb 18 AFTER MSG Should trigger on Feb 19 +../tests/test.rem(233): Trig = Tuesday, 19 February, 1991 +OMIT DUMP +Global Full OMITs (1 of maximum allowed 500): + 1991-02-18 +Global Partial OMITs (0 of maximum allowed 366): + None. + set a000 abs(1) abs(1) => 1 set a001 abs(-1) @@ -851,7 +864,7 @@ set a008 coerce("string", 11:44) coerce("string", 11:44) => "11:44" set a009 coerce("int", "badnews") coerce("int", "badnews") => Can't coerce -../tests/test.rem(238): Can't coerce +../tests/test.rem(245): Can't coerce set a010 coerce("int", "12") coerce("int", "12") => 12 set a011 coerce("int", 11:44) @@ -863,7 +876,7 @@ set a013 date(1992, 2, 2) date(1992, 2, 2) => 1992-02-02 set a014 date(1993, 2, 29) date(1993, 2, 29) => Bad date specification -../tests/test.rem(243): Bad date specification +../tests/test.rem(250): Bad date specification set a015 day(today()) today() => 1991-02-16 day(1991-02-16) => 16 @@ -958,15 +971,15 @@ strlen("sadjflkhsldkfhsdlfjhk") => 21 set a050 substr(a049, 2) a049 => 21 substr(21, 2) => Type mismatch -../tests/test.rem(281): Type mismatch +../tests/test.rem(288): Type mismatch set a051 substr(a050, 2, 6) -a050 => ../tests/test.rem(282): Undefined variable: a050 +a050 => ../tests/test.rem(289): Undefined variable: a050 set a052 time(1+2, 3+4) 1 + 2 => 3 3 + 4 => 7 time(3, 7) => 03:07 rem 10 jan 1992 AT 11:22 CAL -../tests/test.rem(284): Trig = Friday, 10 January, 1992 AT 11:22 +../tests/test.rem(291): Trig = Friday, 10 January, 1992 AT 11:22 set a053 trigdate() trigdate() => 1992-01-10 set a054 trigtime() @@ -979,7 +992,7 @@ set a057 value("a05"+"6") "a05" + "6" => "a056" value("a056") => "SDFJHSDF KSJDFH KJSDFH KSJDFH" set a058 version() -version() => "03.03.09" +version() => "03.03.10" set a059 wkday(today()) today() => 1991-02-16 wkday(1991-02-16) => "Saturday" @@ -1058,101 +1071,101 @@ y => 11:33 x => "foo" y => 11:33 "foo" * 11:33 => Type mismatch -../tests/test.rem(307): `*': Type mismatch +../tests/test.rem(314): `*': Type mismatch Leaving UserFN h() => Type mismatch set a074 dosubst("%a %b %c %d %e %f %g %h", '1992/5/5') dosubst("%a %b %c %d %e %f %g %h", 1992-05-05) => "on Tuesday, 5 May, 1992 in 444 days' tim"... msg [a074]% -../tests/test.rem(309): Trig = Saturday, 16 February, 1991 +../tests/test.rem(316): Trig = Saturday, 16 February, 1991 a074 => "on Tuesday, 5 May, 1992 in 444 days' tim"... on Tuesday, 5 May, 1992 in 444 days' time on Tuesday 5 on 05-05-1992 on 05-05-1992 on Tuesday, 5 May on 05-05 set a075 dosubst("%i %j %k %l %m %n %o %p", '1992/5/5') dosubst("%i %j %k %l %m %n %o %p", 1992-05-05) => "on 05-05 on Tuesday, May 5th, 1992 on Tu"... msg [a075]% -../tests/test.rem(311): Trig = Saturday, 16 February, 1991 +../tests/test.rem(318): Trig = Saturday, 16 February, 1991 a075 => "on 05-05 on Tuesday, May 5th, 1992 on Tu"... on 05-05 on Tuesday, May 5th, 1992 on Tuesday, May 5th on 1992-05-05 May 5 s set a076 dosubst("%q %r %s %t %u %v %w %x", '1992/5/5') dosubst("%q %r %s %t %u %v %w %x", 1992-05-05) => "s' 05 th 05 on Tuesday, 5th May, 1992 on"... msg [a076]% -../tests/test.rem(313): Trig = Saturday, 16 February, 1991 +../tests/test.rem(320): Trig = Saturday, 16 February, 1991 a076 => "s' 05 th 05 on Tuesday, 5th May, 1992 on"... s' 05 th 05 on Tuesday, 5th May, 1992 on Tuesday, 5th May Tuesday 444 set a074 dosubst("%*a %*b %*c %*d %*e %*f %*g %*h", '1992/5/5') dosubst("%*a %*b %*c %*d %*e %*f %*g %*h", 1992-05-05) => "Tuesday, 5 May, 1992 in 444 days' time T"... msg [a074]% -../tests/test.rem(315): Trig = Saturday, 16 February, 1991 +../tests/test.rem(322): Trig = Saturday, 16 February, 1991 a074 => "Tuesday, 5 May, 1992 in 444 days' time T"... Tuesday, 5 May, 1992 in 444 days' time Tuesday 5 05-05-1992 05-05-1992 Tuesday, 5 May 05-05 set a075 dosubst("%*i %*j %*k %*l %*m %*n %*o %*p", '1992/5/5') dosubst("%*i %*j %*k %*l %*m %*n %*o %*p", 1992-05-05) => "05-05 Tuesday, May 5th, 1992 Tuesday, Ma"... msg [a075]% -../tests/test.rem(317): Trig = Saturday, 16 February, 1991 +../tests/test.rem(324): Trig = Saturday, 16 February, 1991 a075 => "05-05 Tuesday, May 5th, 1992 Tuesday, Ma"... 05-05 Tuesday, May 5th, 1992 Tuesday, May 5th 1992-05-05 May 5 s set a076 dosubst("%*q %*r %*s %*t %*u %*v %*w %*x", '1992/5/5') dosubst("%*q %*r %*s %*t %*u %*v %*w %*x", 1992-05-05) => "s' 05 th 05 Tuesday, 5th May, 1992 Tuesd"... msg [a076]% -../tests/test.rem(319): Trig = Saturday, 16 February, 1991 +../tests/test.rem(326): Trig = Saturday, 16 February, 1991 a076 => "s' 05 th 05 Tuesday, 5th May, 1992 Tuesd"... s' 05 th 05 Tuesday, 5th May, 1992 Tuesday, 5th May Tuesday 444 set a077 dosubst("%*y %*z", '1992/5/5') dosubst("%*y %*z", 1992-05-05) => "1992 92 " msg [a077]% -../tests/test.rem(321): Trig = Saturday, 16 February, 1991 +../tests/test.rem(328): Trig = Saturday, 16 February, 1991 a077 => "1992 92 " 1992 92 set a074 dosubst("%A %B %C %D %E %F %G %H", '1992/5/5') dosubst("%A %B %C %D %E %F %G %H", 1992-05-05) => "On Tuesday, 5 May, 1992 In 444 days' tim"... msg [a074]% -../tests/test.rem(323): Trig = Saturday, 16 February, 1991 +../tests/test.rem(330): Trig = Saturday, 16 February, 1991 a074 => "On Tuesday, 5 May, 1992 In 444 days' tim"... On Tuesday, 5 May, 1992 In 444 days' time On Tuesday 5 On 05-05-1992 On 05-05-1992 On Tuesday, 5 May On 05-05 set a075 dosubst("%I %J %K %L %M %N %O %P", '1992/5/5') dosubst("%I %J %K %L %M %N %O %P", 1992-05-05) => "On 05-05 On Tuesday, May 5th, 1992 On Tu"... msg [a075]% -../tests/test.rem(325): Trig = Saturday, 16 February, 1991 +../tests/test.rem(332): Trig = Saturday, 16 February, 1991 a075 => "On 05-05 On Tuesday, May 5th, 1992 On Tu"... On 05-05 On Tuesday, May 5th, 1992 On Tuesday, May 5th On 1992-05-05 May 5 S set a076 dosubst("%Q %R %S %T %U %V %W %X", '1992/5/5') dosubst("%Q %R %S %T %U %V %W %X", 1992-05-05) => "S' 05 Th 05 On Tuesday, 5th May, 1992 On"... msg [a076]% -../tests/test.rem(327): Trig = Saturday, 16 February, 1991 +../tests/test.rem(334): Trig = Saturday, 16 February, 1991 a076 => "S' 05 Th 05 On Tuesday, 5th May, 1992 On"... S' 05 Th 05 On Tuesday, 5th May, 1992 On Tuesday, 5th May Tuesday 444 set a077 dosubst("%Y %Z", '1992/5/5') dosubst("%Y %Z", 1992-05-05) => "1992 92 " msg [a077]% -../tests/test.rem(329): Trig = Saturday, 16 February, 1991 +../tests/test.rem(336): Trig = Saturday, 16 February, 1991 a077 => "1992 92 " 1992 92 set a074 dosubst("%*A %*B %*C %*D %*E %*F %*G %*H", '1992/5/5') dosubst("%*A %*B %*C %*D %*E %*F %*G %*H", 1992-05-05) => "Tuesday, 5 May, 1992 In 444 days' time T"... msg [a074]% -../tests/test.rem(331): Trig = Saturday, 16 February, 1991 +../tests/test.rem(338): Trig = Saturday, 16 February, 1991 a074 => "Tuesday, 5 May, 1992 In 444 days' time T"... Tuesday, 5 May, 1992 In 444 days' time Tuesday 5 05-05-1992 05-05-1992 Tuesday, 5 May 05-05 set a075 dosubst("%*I %*J %*K %*L %*M %*N %*O %*P", '1992/5/5') dosubst("%*I %*J %*K %*L %*M %*N %*O %*P", 1992-05-05) => "05-05 Tuesday, May 5th, 1992 Tuesday, Ma"... msg [a075]% -../tests/test.rem(333): Trig = Saturday, 16 February, 1991 +../tests/test.rem(340): Trig = Saturday, 16 February, 1991 a075 => "05-05 Tuesday, May 5th, 1992 Tuesday, Ma"... 05-05 Tuesday, May 5th, 1992 Tuesday, May 5th 1992-05-05 May 5 S set a076 dosubst("%*Q %*R %*S %*T %*U %*V %*W %*X", '1992/5/5') dosubst("%*Q %*R %*S %*T %*U %*V %*W %*X", 1992-05-05) => "S' 05 Th 05 Tuesday, 5th May, 1992 Tuesd"... msg [a076]% -../tests/test.rem(335): Trig = Saturday, 16 February, 1991 +../tests/test.rem(342): Trig = Saturday, 16 February, 1991 a076 => "S' 05 Th 05 Tuesday, 5th May, 1992 Tuesd"... S' 05 Th 05 Tuesday, 5th May, 1992 Tuesday, 5th May Tuesday 444 set a077 dosubst("%*Y %*Z", '1992/5/5') dosubst("%*Y %*Z", 1992-05-05) => "1992 92 " msg [a077]% -../tests/test.rem(337): Trig = Saturday, 16 February, 1991 +../tests/test.rem(344): Trig = Saturday, 16 February, 1991 a077 => "1992 92 " 1992 92 @@ -1175,7 +1188,7 @@ nonomitted(1991-03-01, 1991-03-13, "Sat", "Sun") => 7 set a085 nonomitted('1991-03-24', '1991-04-01', "Sat") nonomitted(1991-03-24, 1991-04-01, "Sat") => 7 REM 2010-09-03 +3 -4 UNTIL 2012-01-01 PRIORITY 7 *14 MSG foo -../tests/test.rem(347): Trig = Monday, 30 August, 2010 +../tests/test.rem(354): Trig = Monday, 30 August, 2010 set a086 trigback() trigback() => 4 set a087 trigdelta() @@ -1198,7 +1211,7 @@ set a095 trigduration() trigduration() => -1 REM Mon Wed FROM 2010-09-03 ++3 --4 MSG foo -../tests/test.rem(359): Trig = Saturday, 4 September, 2010 +../tests/test.rem(366): Trig = Saturday, 4 September, 2010 set a096 trigback() trigback() => -4 set a097 trigdelta() @@ -1221,7 +1234,7 @@ set a105 trigduration() trigduration() => -1 REM 2010-09-03 +3 -4 UNTIL 2012-01-01 PRIORITY 7 *14 AT 14:41 +15 *2 DURATION 213 MSG foo -../tests/test.rem(371): Trig = Monday, 30 August, 2010 AT 14:41 DURATION 03:33 +../tests/test.rem(378): Trig = Monday, 30 August, 2010 AT 14:41 DURATION 03:33 set a106 trigback() trigback() => 4 set a107 trigdelta() @@ -1244,7 +1257,7 @@ set a115 trigduration() trigduration() => 03:33 REM Mon Wed FROM 2010-09-03 ++3 --4 AT 14:44 MSG foo -../tests/test.rem(383): Trig = Saturday, 4 September, 2010 AT 14:44 +../tests/test.rem(390): Trig = Saturday, 4 September, 2010 AT 14:44 set a116 trigback() trigback() => -4 set a117 trigdelta() @@ -1278,9 +1291,9 @@ set a129 23:30 + '2019-02-02@16:44' # Multi-day reminder REM 13 AT 16:00 DURATION 72:00 MSG 72-hour event -../tests/test.rem(402): Trig = Wednesday, 13 March, 1991 AT 16:00 DURATION 72:00 -../tests/test.rem(402): Trig = Wednesday, 13 February, 1991 AT 16:00 DURATION 72:00 -../tests/test.rem(402): Trig(adj) = Saturday, 16 February, 1991 AT 00:00 DURATION 16:00 +../tests/test.rem(409): Trig = Wednesday, 13 March, 1991 AT 16:00 DURATION 72:00 +../tests/test.rem(409): Trig = Wednesday, 13 February, 1991 AT 16:00 DURATION 72:00 +../tests/test.rem(409): Trig(adj) = Saturday, 16 February, 1991 AT 00:00 DURATION 16:00 72-hour event set a130 trigdate() @@ -1298,1210 +1311,1210 @@ trigeventduration() => 72:00 # These will issue errors REM Mon OMIT Mon SKIP MSG Never ever ever... -../tests/test.rem(411): Can't compute trigger +../tests/test.rem(418): Can't compute trigger REM Mon SATISFY [wkdaynum($T) == 3] MSG Nope nope... -../tests/test.rem(412): Trig = Monday, 18 February, 1991 +../tests/test.rem(419): Trig = Monday, 18 February, 1991 $T => 1991-02-18 wkdaynum(1991-02-18) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 25 February, 1991 +../tests/test.rem(419): Trig = Monday, 25 February, 1991 $T => 1991-02-25 wkdaynum(1991-02-25) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 4 March, 1991 +../tests/test.rem(419): Trig = Monday, 4 March, 1991 $T => 1991-03-04 wkdaynum(1991-03-04) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 11 March, 1991 +../tests/test.rem(419): Trig = Monday, 11 March, 1991 $T => 1991-03-11 wkdaynum(1991-03-11) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 18 March, 1991 +../tests/test.rem(419): Trig = Monday, 18 March, 1991 $T => 1991-03-18 wkdaynum(1991-03-18) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 25 March, 1991 +../tests/test.rem(419): Trig = Monday, 25 March, 1991 $T => 1991-03-25 wkdaynum(1991-03-25) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 1 April, 1991 +../tests/test.rem(419): Trig = Monday, 1 April, 1991 $T => 1991-04-01 wkdaynum(1991-04-01) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 8 April, 1991 +../tests/test.rem(419): Trig = Monday, 8 April, 1991 $T => 1991-04-08 wkdaynum(1991-04-08) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 15 April, 1991 +../tests/test.rem(419): Trig = Monday, 15 April, 1991 $T => 1991-04-15 wkdaynum(1991-04-15) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 22 April, 1991 +../tests/test.rem(419): Trig = Monday, 22 April, 1991 $T => 1991-04-22 wkdaynum(1991-04-22) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 29 April, 1991 +../tests/test.rem(419): Trig = Monday, 29 April, 1991 $T => 1991-04-29 wkdaynum(1991-04-29) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 6 May, 1991 +../tests/test.rem(419): Trig = Monday, 6 May, 1991 $T => 1991-05-06 wkdaynum(1991-05-06) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 13 May, 1991 +../tests/test.rem(419): Trig = Monday, 13 May, 1991 $T => 1991-05-13 wkdaynum(1991-05-13) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 20 May, 1991 +../tests/test.rem(419): Trig = Monday, 20 May, 1991 $T => 1991-05-20 wkdaynum(1991-05-20) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 27 May, 1991 +../tests/test.rem(419): Trig = Monday, 27 May, 1991 $T => 1991-05-27 wkdaynum(1991-05-27) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 3 June, 1991 +../tests/test.rem(419): Trig = Monday, 3 June, 1991 $T => 1991-06-03 wkdaynum(1991-06-03) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 10 June, 1991 +../tests/test.rem(419): Trig = Monday, 10 June, 1991 $T => 1991-06-10 wkdaynum(1991-06-10) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 17 June, 1991 +../tests/test.rem(419): Trig = Monday, 17 June, 1991 $T => 1991-06-17 wkdaynum(1991-06-17) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 24 June, 1991 +../tests/test.rem(419): Trig = Monday, 24 June, 1991 $T => 1991-06-24 wkdaynum(1991-06-24) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 1 July, 1991 +../tests/test.rem(419): Trig = Monday, 1 July, 1991 $T => 1991-07-01 wkdaynum(1991-07-01) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 8 July, 1991 +../tests/test.rem(419): Trig = Monday, 8 July, 1991 $T => 1991-07-08 wkdaynum(1991-07-08) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 15 July, 1991 +../tests/test.rem(419): Trig = Monday, 15 July, 1991 $T => 1991-07-15 wkdaynum(1991-07-15) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 22 July, 1991 +../tests/test.rem(419): Trig = Monday, 22 July, 1991 $T => 1991-07-22 wkdaynum(1991-07-22) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 29 July, 1991 +../tests/test.rem(419): Trig = Monday, 29 July, 1991 $T => 1991-07-29 wkdaynum(1991-07-29) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 5 August, 1991 +../tests/test.rem(419): Trig = Monday, 5 August, 1991 $T => 1991-08-05 wkdaynum(1991-08-05) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 12 August, 1991 +../tests/test.rem(419): Trig = Monday, 12 August, 1991 $T => 1991-08-12 wkdaynum(1991-08-12) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 19 August, 1991 +../tests/test.rem(419): Trig = Monday, 19 August, 1991 $T => 1991-08-19 wkdaynum(1991-08-19) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 26 August, 1991 +../tests/test.rem(419): Trig = Monday, 26 August, 1991 $T => 1991-08-26 wkdaynum(1991-08-26) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 2 September, 1991 +../tests/test.rem(419): Trig = Monday, 2 September, 1991 $T => 1991-09-02 wkdaynum(1991-09-02) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 9 September, 1991 +../tests/test.rem(419): Trig = Monday, 9 September, 1991 $T => 1991-09-09 wkdaynum(1991-09-09) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 16 September, 1991 +../tests/test.rem(419): Trig = Monday, 16 September, 1991 $T => 1991-09-16 wkdaynum(1991-09-16) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 23 September, 1991 +../tests/test.rem(419): Trig = Monday, 23 September, 1991 $T => 1991-09-23 wkdaynum(1991-09-23) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 30 September, 1991 +../tests/test.rem(419): Trig = Monday, 30 September, 1991 $T => 1991-09-30 wkdaynum(1991-09-30) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 7 October, 1991 +../tests/test.rem(419): Trig = Monday, 7 October, 1991 $T => 1991-10-07 wkdaynum(1991-10-07) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 14 October, 1991 +../tests/test.rem(419): Trig = Monday, 14 October, 1991 $T => 1991-10-14 wkdaynum(1991-10-14) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 21 October, 1991 +../tests/test.rem(419): Trig = Monday, 21 October, 1991 $T => 1991-10-21 wkdaynum(1991-10-21) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 28 October, 1991 +../tests/test.rem(419): Trig = Monday, 28 October, 1991 $T => 1991-10-28 wkdaynum(1991-10-28) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 4 November, 1991 +../tests/test.rem(419): Trig = Monday, 4 November, 1991 $T => 1991-11-04 wkdaynum(1991-11-04) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 11 November, 1991 +../tests/test.rem(419): Trig = Monday, 11 November, 1991 $T => 1991-11-11 wkdaynum(1991-11-11) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 18 November, 1991 +../tests/test.rem(419): Trig = Monday, 18 November, 1991 $T => 1991-11-18 wkdaynum(1991-11-18) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 25 November, 1991 +../tests/test.rem(419): Trig = Monday, 25 November, 1991 $T => 1991-11-25 wkdaynum(1991-11-25) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 2 December, 1991 +../tests/test.rem(419): Trig = Monday, 2 December, 1991 $T => 1991-12-02 wkdaynum(1991-12-02) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 9 December, 1991 +../tests/test.rem(419): Trig = Monday, 9 December, 1991 $T => 1991-12-09 wkdaynum(1991-12-09) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 16 December, 1991 +../tests/test.rem(419): Trig = Monday, 16 December, 1991 $T => 1991-12-16 wkdaynum(1991-12-16) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 23 December, 1991 +../tests/test.rem(419): Trig = Monday, 23 December, 1991 $T => 1991-12-23 wkdaynum(1991-12-23) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 30 December, 1991 +../tests/test.rem(419): Trig = Monday, 30 December, 1991 $T => 1991-12-30 wkdaynum(1991-12-30) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 6 January, 1992 +../tests/test.rem(419): Trig = Monday, 6 January, 1992 $T => 1992-01-06 wkdaynum(1992-01-06) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 13 January, 1992 +../tests/test.rem(419): Trig = Monday, 13 January, 1992 $T => 1992-01-13 wkdaynum(1992-01-13) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 20 January, 1992 +../tests/test.rem(419): Trig = Monday, 20 January, 1992 $T => 1992-01-20 wkdaynum(1992-01-20) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 27 January, 1992 +../tests/test.rem(419): Trig = Monday, 27 January, 1992 $T => 1992-01-27 wkdaynum(1992-01-27) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 3 February, 1992 +../tests/test.rem(419): Trig = Monday, 3 February, 1992 $T => 1992-02-03 wkdaynum(1992-02-03) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 10 February, 1992 +../tests/test.rem(419): Trig = Monday, 10 February, 1992 $T => 1992-02-10 wkdaynum(1992-02-10) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 17 February, 1992 +../tests/test.rem(419): Trig = Monday, 17 February, 1992 $T => 1992-02-17 wkdaynum(1992-02-17) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 24 February, 1992 +../tests/test.rem(419): Trig = Monday, 24 February, 1992 $T => 1992-02-24 wkdaynum(1992-02-24) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 2 March, 1992 +../tests/test.rem(419): Trig = Monday, 2 March, 1992 $T => 1992-03-02 wkdaynum(1992-03-02) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 9 March, 1992 +../tests/test.rem(419): Trig = Monday, 9 March, 1992 $T => 1992-03-09 wkdaynum(1992-03-09) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 16 March, 1992 +../tests/test.rem(419): Trig = Monday, 16 March, 1992 $T => 1992-03-16 wkdaynum(1992-03-16) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 23 March, 1992 +../tests/test.rem(419): Trig = Monday, 23 March, 1992 $T => 1992-03-23 wkdaynum(1992-03-23) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 30 March, 1992 +../tests/test.rem(419): Trig = Monday, 30 March, 1992 $T => 1992-03-30 wkdaynum(1992-03-30) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 6 April, 1992 +../tests/test.rem(419): Trig = Monday, 6 April, 1992 $T => 1992-04-06 wkdaynum(1992-04-06) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 13 April, 1992 +../tests/test.rem(419): Trig = Monday, 13 April, 1992 $T => 1992-04-13 wkdaynum(1992-04-13) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 20 April, 1992 +../tests/test.rem(419): Trig = Monday, 20 April, 1992 $T => 1992-04-20 wkdaynum(1992-04-20) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 27 April, 1992 +../tests/test.rem(419): Trig = Monday, 27 April, 1992 $T => 1992-04-27 wkdaynum(1992-04-27) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 4 May, 1992 +../tests/test.rem(419): Trig = Monday, 4 May, 1992 $T => 1992-05-04 wkdaynum(1992-05-04) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 11 May, 1992 +../tests/test.rem(419): Trig = Monday, 11 May, 1992 $T => 1992-05-11 wkdaynum(1992-05-11) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 18 May, 1992 +../tests/test.rem(419): Trig = Monday, 18 May, 1992 $T => 1992-05-18 wkdaynum(1992-05-18) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 25 May, 1992 +../tests/test.rem(419): Trig = Monday, 25 May, 1992 $T => 1992-05-25 wkdaynum(1992-05-25) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 1 June, 1992 +../tests/test.rem(419): Trig = Monday, 1 June, 1992 $T => 1992-06-01 wkdaynum(1992-06-01) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 8 June, 1992 +../tests/test.rem(419): Trig = Monday, 8 June, 1992 $T => 1992-06-08 wkdaynum(1992-06-08) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 15 June, 1992 +../tests/test.rem(419): Trig = Monday, 15 June, 1992 $T => 1992-06-15 wkdaynum(1992-06-15) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 22 June, 1992 +../tests/test.rem(419): Trig = Monday, 22 June, 1992 $T => 1992-06-22 wkdaynum(1992-06-22) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 29 June, 1992 +../tests/test.rem(419): Trig = Monday, 29 June, 1992 $T => 1992-06-29 wkdaynum(1992-06-29) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 6 July, 1992 +../tests/test.rem(419): Trig = Monday, 6 July, 1992 $T => 1992-07-06 wkdaynum(1992-07-06) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 13 July, 1992 +../tests/test.rem(419): Trig = Monday, 13 July, 1992 $T => 1992-07-13 wkdaynum(1992-07-13) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 20 July, 1992 +../tests/test.rem(419): Trig = Monday, 20 July, 1992 $T => 1992-07-20 wkdaynum(1992-07-20) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 27 July, 1992 +../tests/test.rem(419): Trig = Monday, 27 July, 1992 $T => 1992-07-27 wkdaynum(1992-07-27) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 3 August, 1992 +../tests/test.rem(419): Trig = Monday, 3 August, 1992 $T => 1992-08-03 wkdaynum(1992-08-03) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 10 August, 1992 +../tests/test.rem(419): Trig = Monday, 10 August, 1992 $T => 1992-08-10 wkdaynum(1992-08-10) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 17 August, 1992 +../tests/test.rem(419): Trig = Monday, 17 August, 1992 $T => 1992-08-17 wkdaynum(1992-08-17) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 24 August, 1992 +../tests/test.rem(419): Trig = Monday, 24 August, 1992 $T => 1992-08-24 wkdaynum(1992-08-24) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 31 August, 1992 +../tests/test.rem(419): Trig = Monday, 31 August, 1992 $T => 1992-08-31 wkdaynum(1992-08-31) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 7 September, 1992 +../tests/test.rem(419): Trig = Monday, 7 September, 1992 $T => 1992-09-07 wkdaynum(1992-09-07) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 14 September, 1992 +../tests/test.rem(419): Trig = Monday, 14 September, 1992 $T => 1992-09-14 wkdaynum(1992-09-14) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 21 September, 1992 +../tests/test.rem(419): Trig = Monday, 21 September, 1992 $T => 1992-09-21 wkdaynum(1992-09-21) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 28 September, 1992 +../tests/test.rem(419): Trig = Monday, 28 September, 1992 $T => 1992-09-28 wkdaynum(1992-09-28) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 5 October, 1992 +../tests/test.rem(419): Trig = Monday, 5 October, 1992 $T => 1992-10-05 wkdaynum(1992-10-05) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 12 October, 1992 +../tests/test.rem(419): Trig = Monday, 12 October, 1992 $T => 1992-10-12 wkdaynum(1992-10-12) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 19 October, 1992 +../tests/test.rem(419): Trig = Monday, 19 October, 1992 $T => 1992-10-19 wkdaynum(1992-10-19) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 26 October, 1992 +../tests/test.rem(419): Trig = Monday, 26 October, 1992 $T => 1992-10-26 wkdaynum(1992-10-26) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 2 November, 1992 +../tests/test.rem(419): Trig = Monday, 2 November, 1992 $T => 1992-11-02 wkdaynum(1992-11-02) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 9 November, 1992 +../tests/test.rem(419): Trig = Monday, 9 November, 1992 $T => 1992-11-09 wkdaynum(1992-11-09) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 16 November, 1992 +../tests/test.rem(419): Trig = Monday, 16 November, 1992 $T => 1992-11-16 wkdaynum(1992-11-16) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 23 November, 1992 +../tests/test.rem(419): Trig = Monday, 23 November, 1992 $T => 1992-11-23 wkdaynum(1992-11-23) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 30 November, 1992 +../tests/test.rem(419): Trig = Monday, 30 November, 1992 $T => 1992-11-30 wkdaynum(1992-11-30) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 7 December, 1992 +../tests/test.rem(419): Trig = Monday, 7 December, 1992 $T => 1992-12-07 wkdaynum(1992-12-07) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 14 December, 1992 +../tests/test.rem(419): Trig = Monday, 14 December, 1992 $T => 1992-12-14 wkdaynum(1992-12-14) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 21 December, 1992 +../tests/test.rem(419): Trig = Monday, 21 December, 1992 $T => 1992-12-21 wkdaynum(1992-12-21) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 28 December, 1992 +../tests/test.rem(419): Trig = Monday, 28 December, 1992 $T => 1992-12-28 wkdaynum(1992-12-28) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 4 January, 1993 +../tests/test.rem(419): Trig = Monday, 4 January, 1993 $T => 1993-01-04 wkdaynum(1993-01-04) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 11 January, 1993 +../tests/test.rem(419): Trig = Monday, 11 January, 1993 $T => 1993-01-11 wkdaynum(1993-01-11) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 18 January, 1993 +../tests/test.rem(419): Trig = Monday, 18 January, 1993 $T => 1993-01-18 wkdaynum(1993-01-18) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 25 January, 1993 +../tests/test.rem(419): Trig = Monday, 25 January, 1993 $T => 1993-01-25 wkdaynum(1993-01-25) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 1 February, 1993 +../tests/test.rem(419): Trig = Monday, 1 February, 1993 $T => 1993-02-01 wkdaynum(1993-02-01) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 8 February, 1993 +../tests/test.rem(419): Trig = Monday, 8 February, 1993 $T => 1993-02-08 wkdaynum(1993-02-08) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 15 February, 1993 +../tests/test.rem(419): Trig = Monday, 15 February, 1993 $T => 1993-02-15 wkdaynum(1993-02-15) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 22 February, 1993 +../tests/test.rem(419): Trig = Monday, 22 February, 1993 $T => 1993-02-22 wkdaynum(1993-02-22) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 1 March, 1993 +../tests/test.rem(419): Trig = Monday, 1 March, 1993 $T => 1993-03-01 wkdaynum(1993-03-01) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 8 March, 1993 +../tests/test.rem(419): Trig = Monday, 8 March, 1993 $T => 1993-03-08 wkdaynum(1993-03-08) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 15 March, 1993 +../tests/test.rem(419): Trig = Monday, 15 March, 1993 $T => 1993-03-15 wkdaynum(1993-03-15) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 22 March, 1993 +../tests/test.rem(419): Trig = Monday, 22 March, 1993 $T => 1993-03-22 wkdaynum(1993-03-22) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 29 March, 1993 +../tests/test.rem(419): Trig = Monday, 29 March, 1993 $T => 1993-03-29 wkdaynum(1993-03-29) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 5 April, 1993 +../tests/test.rem(419): Trig = Monday, 5 April, 1993 $T => 1993-04-05 wkdaynum(1993-04-05) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 12 April, 1993 +../tests/test.rem(419): Trig = Monday, 12 April, 1993 $T => 1993-04-12 wkdaynum(1993-04-12) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 19 April, 1993 +../tests/test.rem(419): Trig = Monday, 19 April, 1993 $T => 1993-04-19 wkdaynum(1993-04-19) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 26 April, 1993 +../tests/test.rem(419): Trig = Monday, 26 April, 1993 $T => 1993-04-26 wkdaynum(1993-04-26) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 3 May, 1993 +../tests/test.rem(419): Trig = Monday, 3 May, 1993 $T => 1993-05-03 wkdaynum(1993-05-03) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 10 May, 1993 +../tests/test.rem(419): Trig = Monday, 10 May, 1993 $T => 1993-05-10 wkdaynum(1993-05-10) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 17 May, 1993 +../tests/test.rem(419): Trig = Monday, 17 May, 1993 $T => 1993-05-17 wkdaynum(1993-05-17) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 24 May, 1993 +../tests/test.rem(419): Trig = Monday, 24 May, 1993 $T => 1993-05-24 wkdaynum(1993-05-24) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 31 May, 1993 +../tests/test.rem(419): Trig = Monday, 31 May, 1993 $T => 1993-05-31 wkdaynum(1993-05-31) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 7 June, 1993 +../tests/test.rem(419): Trig = Monday, 7 June, 1993 $T => 1993-06-07 wkdaynum(1993-06-07) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 14 June, 1993 +../tests/test.rem(419): Trig = Monday, 14 June, 1993 $T => 1993-06-14 wkdaynum(1993-06-14) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 21 June, 1993 +../tests/test.rem(419): Trig = Monday, 21 June, 1993 $T => 1993-06-21 wkdaynum(1993-06-21) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 28 June, 1993 +../tests/test.rem(419): Trig = Monday, 28 June, 1993 $T => 1993-06-28 wkdaynum(1993-06-28) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 5 July, 1993 +../tests/test.rem(419): Trig = Monday, 5 July, 1993 $T => 1993-07-05 wkdaynum(1993-07-05) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 12 July, 1993 +../tests/test.rem(419): Trig = Monday, 12 July, 1993 $T => 1993-07-12 wkdaynum(1993-07-12) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 19 July, 1993 +../tests/test.rem(419): Trig = Monday, 19 July, 1993 $T => 1993-07-19 wkdaynum(1993-07-19) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 26 July, 1993 +../tests/test.rem(419): Trig = Monday, 26 July, 1993 $T => 1993-07-26 wkdaynum(1993-07-26) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 2 August, 1993 +../tests/test.rem(419): Trig = Monday, 2 August, 1993 $T => 1993-08-02 wkdaynum(1993-08-02) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 9 August, 1993 +../tests/test.rem(419): Trig = Monday, 9 August, 1993 $T => 1993-08-09 wkdaynum(1993-08-09) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 16 August, 1993 +../tests/test.rem(419): Trig = Monday, 16 August, 1993 $T => 1993-08-16 wkdaynum(1993-08-16) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 23 August, 1993 +../tests/test.rem(419): Trig = Monday, 23 August, 1993 $T => 1993-08-23 wkdaynum(1993-08-23) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 30 August, 1993 +../tests/test.rem(419): Trig = Monday, 30 August, 1993 $T => 1993-08-30 wkdaynum(1993-08-30) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 6 September, 1993 +../tests/test.rem(419): Trig = Monday, 6 September, 1993 $T => 1993-09-06 wkdaynum(1993-09-06) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 13 September, 1993 +../tests/test.rem(419): Trig = Monday, 13 September, 1993 $T => 1993-09-13 wkdaynum(1993-09-13) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 20 September, 1993 +../tests/test.rem(419): Trig = Monday, 20 September, 1993 $T => 1993-09-20 wkdaynum(1993-09-20) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 27 September, 1993 +../tests/test.rem(419): Trig = Monday, 27 September, 1993 $T => 1993-09-27 wkdaynum(1993-09-27) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 4 October, 1993 +../tests/test.rem(419): Trig = Monday, 4 October, 1993 $T => 1993-10-04 wkdaynum(1993-10-04) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 11 October, 1993 +../tests/test.rem(419): Trig = Monday, 11 October, 1993 $T => 1993-10-11 wkdaynum(1993-10-11) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 18 October, 1993 +../tests/test.rem(419): Trig = Monday, 18 October, 1993 $T => 1993-10-18 wkdaynum(1993-10-18) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 25 October, 1993 +../tests/test.rem(419): Trig = Monday, 25 October, 1993 $T => 1993-10-25 wkdaynum(1993-10-25) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 1 November, 1993 +../tests/test.rem(419): Trig = Monday, 1 November, 1993 $T => 1993-11-01 wkdaynum(1993-11-01) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 8 November, 1993 +../tests/test.rem(419): Trig = Monday, 8 November, 1993 $T => 1993-11-08 wkdaynum(1993-11-08) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 15 November, 1993 +../tests/test.rem(419): Trig = Monday, 15 November, 1993 $T => 1993-11-15 wkdaynum(1993-11-15) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 22 November, 1993 +../tests/test.rem(419): Trig = Monday, 22 November, 1993 $T => 1993-11-22 wkdaynum(1993-11-22) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 29 November, 1993 +../tests/test.rem(419): Trig = Monday, 29 November, 1993 $T => 1993-11-29 wkdaynum(1993-11-29) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 6 December, 1993 +../tests/test.rem(419): Trig = Monday, 6 December, 1993 $T => 1993-12-06 wkdaynum(1993-12-06) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 13 December, 1993 +../tests/test.rem(419): Trig = Monday, 13 December, 1993 $T => 1993-12-13 wkdaynum(1993-12-13) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 20 December, 1993 +../tests/test.rem(419): Trig = Monday, 20 December, 1993 $T => 1993-12-20 wkdaynum(1993-12-20) => 1 1 == 3 => 0 -../tests/test.rem(412): Trig = Monday, 27 December, 1993 +../tests/test.rem(419): Trig = Monday, 27 December, 1993 $T => 1993-12-27 wkdaynum(1993-12-27) => 1 1 == 3 => 0 -../tests/test.rem(412): Can't compute trigger +../tests/test.rem(419): Can't compute trigger # These will just silently not trigger REM MAYBE-UNCOMPUTABLE Mon OMIT Mon SKIP MSG Never ever ever... REM MAYBE-UNCOMPUTABLE Mon SATISFY [wkdaynum($T) == 3] MSG Nope nope... -../tests/test.rem(416): Trig = Monday, 18 February, 1991 +../tests/test.rem(423): Trig = Monday, 18 February, 1991 $T => 1991-02-18 wkdaynum(1991-02-18) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 25 February, 1991 +../tests/test.rem(423): Trig = Monday, 25 February, 1991 $T => 1991-02-25 wkdaynum(1991-02-25) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 4 March, 1991 +../tests/test.rem(423): Trig = Monday, 4 March, 1991 $T => 1991-03-04 wkdaynum(1991-03-04) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 11 March, 1991 +../tests/test.rem(423): Trig = Monday, 11 March, 1991 $T => 1991-03-11 wkdaynum(1991-03-11) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 18 March, 1991 +../tests/test.rem(423): Trig = Monday, 18 March, 1991 $T => 1991-03-18 wkdaynum(1991-03-18) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 25 March, 1991 +../tests/test.rem(423): Trig = Monday, 25 March, 1991 $T => 1991-03-25 wkdaynum(1991-03-25) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 1 April, 1991 +../tests/test.rem(423): Trig = Monday, 1 April, 1991 $T => 1991-04-01 wkdaynum(1991-04-01) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 8 April, 1991 +../tests/test.rem(423): Trig = Monday, 8 April, 1991 $T => 1991-04-08 wkdaynum(1991-04-08) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 15 April, 1991 +../tests/test.rem(423): Trig = Monday, 15 April, 1991 $T => 1991-04-15 wkdaynum(1991-04-15) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 22 April, 1991 +../tests/test.rem(423): Trig = Monday, 22 April, 1991 $T => 1991-04-22 wkdaynum(1991-04-22) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 29 April, 1991 +../tests/test.rem(423): Trig = Monday, 29 April, 1991 $T => 1991-04-29 wkdaynum(1991-04-29) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 6 May, 1991 +../tests/test.rem(423): Trig = Monday, 6 May, 1991 $T => 1991-05-06 wkdaynum(1991-05-06) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 13 May, 1991 +../tests/test.rem(423): Trig = Monday, 13 May, 1991 $T => 1991-05-13 wkdaynum(1991-05-13) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 20 May, 1991 +../tests/test.rem(423): Trig = Monday, 20 May, 1991 $T => 1991-05-20 wkdaynum(1991-05-20) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 27 May, 1991 +../tests/test.rem(423): Trig = Monday, 27 May, 1991 $T => 1991-05-27 wkdaynum(1991-05-27) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 3 June, 1991 +../tests/test.rem(423): Trig = Monday, 3 June, 1991 $T => 1991-06-03 wkdaynum(1991-06-03) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 10 June, 1991 +../tests/test.rem(423): Trig = Monday, 10 June, 1991 $T => 1991-06-10 wkdaynum(1991-06-10) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 17 June, 1991 +../tests/test.rem(423): Trig = Monday, 17 June, 1991 $T => 1991-06-17 wkdaynum(1991-06-17) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 24 June, 1991 +../tests/test.rem(423): Trig = Monday, 24 June, 1991 $T => 1991-06-24 wkdaynum(1991-06-24) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 1 July, 1991 +../tests/test.rem(423): Trig = Monday, 1 July, 1991 $T => 1991-07-01 wkdaynum(1991-07-01) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 8 July, 1991 +../tests/test.rem(423): Trig = Monday, 8 July, 1991 $T => 1991-07-08 wkdaynum(1991-07-08) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 15 July, 1991 +../tests/test.rem(423): Trig = Monday, 15 July, 1991 $T => 1991-07-15 wkdaynum(1991-07-15) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 22 July, 1991 +../tests/test.rem(423): Trig = Monday, 22 July, 1991 $T => 1991-07-22 wkdaynum(1991-07-22) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 29 July, 1991 +../tests/test.rem(423): Trig = Monday, 29 July, 1991 $T => 1991-07-29 wkdaynum(1991-07-29) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 5 August, 1991 +../tests/test.rem(423): Trig = Monday, 5 August, 1991 $T => 1991-08-05 wkdaynum(1991-08-05) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 12 August, 1991 +../tests/test.rem(423): Trig = Monday, 12 August, 1991 $T => 1991-08-12 wkdaynum(1991-08-12) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 19 August, 1991 +../tests/test.rem(423): Trig = Monday, 19 August, 1991 $T => 1991-08-19 wkdaynum(1991-08-19) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 26 August, 1991 +../tests/test.rem(423): Trig = Monday, 26 August, 1991 $T => 1991-08-26 wkdaynum(1991-08-26) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 2 September, 1991 +../tests/test.rem(423): Trig = Monday, 2 September, 1991 $T => 1991-09-02 wkdaynum(1991-09-02) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 9 September, 1991 +../tests/test.rem(423): Trig = Monday, 9 September, 1991 $T => 1991-09-09 wkdaynum(1991-09-09) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 16 September, 1991 +../tests/test.rem(423): Trig = Monday, 16 September, 1991 $T => 1991-09-16 wkdaynum(1991-09-16) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 23 September, 1991 +../tests/test.rem(423): Trig = Monday, 23 September, 1991 $T => 1991-09-23 wkdaynum(1991-09-23) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 30 September, 1991 +../tests/test.rem(423): Trig = Monday, 30 September, 1991 $T => 1991-09-30 wkdaynum(1991-09-30) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 7 October, 1991 +../tests/test.rem(423): Trig = Monday, 7 October, 1991 $T => 1991-10-07 wkdaynum(1991-10-07) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 14 October, 1991 +../tests/test.rem(423): Trig = Monday, 14 October, 1991 $T => 1991-10-14 wkdaynum(1991-10-14) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 21 October, 1991 +../tests/test.rem(423): Trig = Monday, 21 October, 1991 $T => 1991-10-21 wkdaynum(1991-10-21) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 28 October, 1991 +../tests/test.rem(423): Trig = Monday, 28 October, 1991 $T => 1991-10-28 wkdaynum(1991-10-28) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 4 November, 1991 +../tests/test.rem(423): Trig = Monday, 4 November, 1991 $T => 1991-11-04 wkdaynum(1991-11-04) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 11 November, 1991 +../tests/test.rem(423): Trig = Monday, 11 November, 1991 $T => 1991-11-11 wkdaynum(1991-11-11) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 18 November, 1991 +../tests/test.rem(423): Trig = Monday, 18 November, 1991 $T => 1991-11-18 wkdaynum(1991-11-18) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 25 November, 1991 +../tests/test.rem(423): Trig = Monday, 25 November, 1991 $T => 1991-11-25 wkdaynum(1991-11-25) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 2 December, 1991 +../tests/test.rem(423): Trig = Monday, 2 December, 1991 $T => 1991-12-02 wkdaynum(1991-12-02) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 9 December, 1991 +../tests/test.rem(423): Trig = Monday, 9 December, 1991 $T => 1991-12-09 wkdaynum(1991-12-09) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 16 December, 1991 +../tests/test.rem(423): Trig = Monday, 16 December, 1991 $T => 1991-12-16 wkdaynum(1991-12-16) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 23 December, 1991 +../tests/test.rem(423): Trig = Monday, 23 December, 1991 $T => 1991-12-23 wkdaynum(1991-12-23) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 30 December, 1991 +../tests/test.rem(423): Trig = Monday, 30 December, 1991 $T => 1991-12-30 wkdaynum(1991-12-30) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 6 January, 1992 +../tests/test.rem(423): Trig = Monday, 6 January, 1992 $T => 1992-01-06 wkdaynum(1992-01-06) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 13 January, 1992 +../tests/test.rem(423): Trig = Monday, 13 January, 1992 $T => 1992-01-13 wkdaynum(1992-01-13) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 20 January, 1992 +../tests/test.rem(423): Trig = Monday, 20 January, 1992 $T => 1992-01-20 wkdaynum(1992-01-20) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 27 January, 1992 +../tests/test.rem(423): Trig = Monday, 27 January, 1992 $T => 1992-01-27 wkdaynum(1992-01-27) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 3 February, 1992 +../tests/test.rem(423): Trig = Monday, 3 February, 1992 $T => 1992-02-03 wkdaynum(1992-02-03) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 10 February, 1992 +../tests/test.rem(423): Trig = Monday, 10 February, 1992 $T => 1992-02-10 wkdaynum(1992-02-10) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 17 February, 1992 +../tests/test.rem(423): Trig = Monday, 17 February, 1992 $T => 1992-02-17 wkdaynum(1992-02-17) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 24 February, 1992 +../tests/test.rem(423): Trig = Monday, 24 February, 1992 $T => 1992-02-24 wkdaynum(1992-02-24) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 2 March, 1992 +../tests/test.rem(423): Trig = Monday, 2 March, 1992 $T => 1992-03-02 wkdaynum(1992-03-02) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 9 March, 1992 +../tests/test.rem(423): Trig = Monday, 9 March, 1992 $T => 1992-03-09 wkdaynum(1992-03-09) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 16 March, 1992 +../tests/test.rem(423): Trig = Monday, 16 March, 1992 $T => 1992-03-16 wkdaynum(1992-03-16) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 23 March, 1992 +../tests/test.rem(423): Trig = Monday, 23 March, 1992 $T => 1992-03-23 wkdaynum(1992-03-23) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 30 March, 1992 +../tests/test.rem(423): Trig = Monday, 30 March, 1992 $T => 1992-03-30 wkdaynum(1992-03-30) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 6 April, 1992 +../tests/test.rem(423): Trig = Monday, 6 April, 1992 $T => 1992-04-06 wkdaynum(1992-04-06) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 13 April, 1992 +../tests/test.rem(423): Trig = Monday, 13 April, 1992 $T => 1992-04-13 wkdaynum(1992-04-13) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 20 April, 1992 +../tests/test.rem(423): Trig = Monday, 20 April, 1992 $T => 1992-04-20 wkdaynum(1992-04-20) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 27 April, 1992 +../tests/test.rem(423): Trig = Monday, 27 April, 1992 $T => 1992-04-27 wkdaynum(1992-04-27) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 4 May, 1992 +../tests/test.rem(423): Trig = Monday, 4 May, 1992 $T => 1992-05-04 wkdaynum(1992-05-04) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 11 May, 1992 +../tests/test.rem(423): Trig = Monday, 11 May, 1992 $T => 1992-05-11 wkdaynum(1992-05-11) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 18 May, 1992 +../tests/test.rem(423): Trig = Monday, 18 May, 1992 $T => 1992-05-18 wkdaynum(1992-05-18) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 25 May, 1992 +../tests/test.rem(423): Trig = Monday, 25 May, 1992 $T => 1992-05-25 wkdaynum(1992-05-25) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 1 June, 1992 +../tests/test.rem(423): Trig = Monday, 1 June, 1992 $T => 1992-06-01 wkdaynum(1992-06-01) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 8 June, 1992 +../tests/test.rem(423): Trig = Monday, 8 June, 1992 $T => 1992-06-08 wkdaynum(1992-06-08) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 15 June, 1992 +../tests/test.rem(423): Trig = Monday, 15 June, 1992 $T => 1992-06-15 wkdaynum(1992-06-15) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 22 June, 1992 +../tests/test.rem(423): Trig = Monday, 22 June, 1992 $T => 1992-06-22 wkdaynum(1992-06-22) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 29 June, 1992 +../tests/test.rem(423): Trig = Monday, 29 June, 1992 $T => 1992-06-29 wkdaynum(1992-06-29) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 6 July, 1992 +../tests/test.rem(423): Trig = Monday, 6 July, 1992 $T => 1992-07-06 wkdaynum(1992-07-06) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 13 July, 1992 +../tests/test.rem(423): Trig = Monday, 13 July, 1992 $T => 1992-07-13 wkdaynum(1992-07-13) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 20 July, 1992 +../tests/test.rem(423): Trig = Monday, 20 July, 1992 $T => 1992-07-20 wkdaynum(1992-07-20) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 27 July, 1992 +../tests/test.rem(423): Trig = Monday, 27 July, 1992 $T => 1992-07-27 wkdaynum(1992-07-27) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 3 August, 1992 +../tests/test.rem(423): Trig = Monday, 3 August, 1992 $T => 1992-08-03 wkdaynum(1992-08-03) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 10 August, 1992 +../tests/test.rem(423): Trig = Monday, 10 August, 1992 $T => 1992-08-10 wkdaynum(1992-08-10) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 17 August, 1992 +../tests/test.rem(423): Trig = Monday, 17 August, 1992 $T => 1992-08-17 wkdaynum(1992-08-17) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 24 August, 1992 +../tests/test.rem(423): Trig = Monday, 24 August, 1992 $T => 1992-08-24 wkdaynum(1992-08-24) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 31 August, 1992 +../tests/test.rem(423): Trig = Monday, 31 August, 1992 $T => 1992-08-31 wkdaynum(1992-08-31) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 7 September, 1992 +../tests/test.rem(423): Trig = Monday, 7 September, 1992 $T => 1992-09-07 wkdaynum(1992-09-07) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 14 September, 1992 +../tests/test.rem(423): Trig = Monday, 14 September, 1992 $T => 1992-09-14 wkdaynum(1992-09-14) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 21 September, 1992 +../tests/test.rem(423): Trig = Monday, 21 September, 1992 $T => 1992-09-21 wkdaynum(1992-09-21) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 28 September, 1992 +../tests/test.rem(423): Trig = Monday, 28 September, 1992 $T => 1992-09-28 wkdaynum(1992-09-28) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 5 October, 1992 +../tests/test.rem(423): Trig = Monday, 5 October, 1992 $T => 1992-10-05 wkdaynum(1992-10-05) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 12 October, 1992 +../tests/test.rem(423): Trig = Monday, 12 October, 1992 $T => 1992-10-12 wkdaynum(1992-10-12) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 19 October, 1992 +../tests/test.rem(423): Trig = Monday, 19 October, 1992 $T => 1992-10-19 wkdaynum(1992-10-19) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 26 October, 1992 +../tests/test.rem(423): Trig = Monday, 26 October, 1992 $T => 1992-10-26 wkdaynum(1992-10-26) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 2 November, 1992 +../tests/test.rem(423): Trig = Monday, 2 November, 1992 $T => 1992-11-02 wkdaynum(1992-11-02) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 9 November, 1992 +../tests/test.rem(423): Trig = Monday, 9 November, 1992 $T => 1992-11-09 wkdaynum(1992-11-09) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 16 November, 1992 +../tests/test.rem(423): Trig = Monday, 16 November, 1992 $T => 1992-11-16 wkdaynum(1992-11-16) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 23 November, 1992 +../tests/test.rem(423): Trig = Monday, 23 November, 1992 $T => 1992-11-23 wkdaynum(1992-11-23) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 30 November, 1992 +../tests/test.rem(423): Trig = Monday, 30 November, 1992 $T => 1992-11-30 wkdaynum(1992-11-30) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 7 December, 1992 +../tests/test.rem(423): Trig = Monday, 7 December, 1992 $T => 1992-12-07 wkdaynum(1992-12-07) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 14 December, 1992 +../tests/test.rem(423): Trig = Monday, 14 December, 1992 $T => 1992-12-14 wkdaynum(1992-12-14) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 21 December, 1992 +../tests/test.rem(423): Trig = Monday, 21 December, 1992 $T => 1992-12-21 wkdaynum(1992-12-21) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 28 December, 1992 +../tests/test.rem(423): Trig = Monday, 28 December, 1992 $T => 1992-12-28 wkdaynum(1992-12-28) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 4 January, 1993 +../tests/test.rem(423): Trig = Monday, 4 January, 1993 $T => 1993-01-04 wkdaynum(1993-01-04) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 11 January, 1993 +../tests/test.rem(423): Trig = Monday, 11 January, 1993 $T => 1993-01-11 wkdaynum(1993-01-11) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 18 January, 1993 +../tests/test.rem(423): Trig = Monday, 18 January, 1993 $T => 1993-01-18 wkdaynum(1993-01-18) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 25 January, 1993 +../tests/test.rem(423): Trig = Monday, 25 January, 1993 $T => 1993-01-25 wkdaynum(1993-01-25) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 1 February, 1993 +../tests/test.rem(423): Trig = Monday, 1 February, 1993 $T => 1993-02-01 wkdaynum(1993-02-01) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 8 February, 1993 +../tests/test.rem(423): Trig = Monday, 8 February, 1993 $T => 1993-02-08 wkdaynum(1993-02-08) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 15 February, 1993 +../tests/test.rem(423): Trig = Monday, 15 February, 1993 $T => 1993-02-15 wkdaynum(1993-02-15) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 22 February, 1993 +../tests/test.rem(423): Trig = Monday, 22 February, 1993 $T => 1993-02-22 wkdaynum(1993-02-22) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 1 March, 1993 +../tests/test.rem(423): Trig = Monday, 1 March, 1993 $T => 1993-03-01 wkdaynum(1993-03-01) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 8 March, 1993 +../tests/test.rem(423): Trig = Monday, 8 March, 1993 $T => 1993-03-08 wkdaynum(1993-03-08) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 15 March, 1993 +../tests/test.rem(423): Trig = Monday, 15 March, 1993 $T => 1993-03-15 wkdaynum(1993-03-15) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 22 March, 1993 +../tests/test.rem(423): Trig = Monday, 22 March, 1993 $T => 1993-03-22 wkdaynum(1993-03-22) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 29 March, 1993 +../tests/test.rem(423): Trig = Monday, 29 March, 1993 $T => 1993-03-29 wkdaynum(1993-03-29) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 5 April, 1993 +../tests/test.rem(423): Trig = Monday, 5 April, 1993 $T => 1993-04-05 wkdaynum(1993-04-05) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 12 April, 1993 +../tests/test.rem(423): Trig = Monday, 12 April, 1993 $T => 1993-04-12 wkdaynum(1993-04-12) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 19 April, 1993 +../tests/test.rem(423): Trig = Monday, 19 April, 1993 $T => 1993-04-19 wkdaynum(1993-04-19) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 26 April, 1993 +../tests/test.rem(423): Trig = Monday, 26 April, 1993 $T => 1993-04-26 wkdaynum(1993-04-26) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 3 May, 1993 +../tests/test.rem(423): Trig = Monday, 3 May, 1993 $T => 1993-05-03 wkdaynum(1993-05-03) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 10 May, 1993 +../tests/test.rem(423): Trig = Monday, 10 May, 1993 $T => 1993-05-10 wkdaynum(1993-05-10) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 17 May, 1993 +../tests/test.rem(423): Trig = Monday, 17 May, 1993 $T => 1993-05-17 wkdaynum(1993-05-17) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 24 May, 1993 +../tests/test.rem(423): Trig = Monday, 24 May, 1993 $T => 1993-05-24 wkdaynum(1993-05-24) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 31 May, 1993 +../tests/test.rem(423): Trig = Monday, 31 May, 1993 $T => 1993-05-31 wkdaynum(1993-05-31) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 7 June, 1993 +../tests/test.rem(423): Trig = Monday, 7 June, 1993 $T => 1993-06-07 wkdaynum(1993-06-07) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 14 June, 1993 +../tests/test.rem(423): Trig = Monday, 14 June, 1993 $T => 1993-06-14 wkdaynum(1993-06-14) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 21 June, 1993 +../tests/test.rem(423): Trig = Monday, 21 June, 1993 $T => 1993-06-21 wkdaynum(1993-06-21) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 28 June, 1993 +../tests/test.rem(423): Trig = Monday, 28 June, 1993 $T => 1993-06-28 wkdaynum(1993-06-28) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 5 July, 1993 +../tests/test.rem(423): Trig = Monday, 5 July, 1993 $T => 1993-07-05 wkdaynum(1993-07-05) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 12 July, 1993 +../tests/test.rem(423): Trig = Monday, 12 July, 1993 $T => 1993-07-12 wkdaynum(1993-07-12) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 19 July, 1993 +../tests/test.rem(423): Trig = Monday, 19 July, 1993 $T => 1993-07-19 wkdaynum(1993-07-19) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 26 July, 1993 +../tests/test.rem(423): Trig = Monday, 26 July, 1993 $T => 1993-07-26 wkdaynum(1993-07-26) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 2 August, 1993 +../tests/test.rem(423): Trig = Monday, 2 August, 1993 $T => 1993-08-02 wkdaynum(1993-08-02) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 9 August, 1993 +../tests/test.rem(423): Trig = Monday, 9 August, 1993 $T => 1993-08-09 wkdaynum(1993-08-09) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 16 August, 1993 +../tests/test.rem(423): Trig = Monday, 16 August, 1993 $T => 1993-08-16 wkdaynum(1993-08-16) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 23 August, 1993 +../tests/test.rem(423): Trig = Monday, 23 August, 1993 $T => 1993-08-23 wkdaynum(1993-08-23) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 30 August, 1993 +../tests/test.rem(423): Trig = Monday, 30 August, 1993 $T => 1993-08-30 wkdaynum(1993-08-30) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 6 September, 1993 +../tests/test.rem(423): Trig = Monday, 6 September, 1993 $T => 1993-09-06 wkdaynum(1993-09-06) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 13 September, 1993 +../tests/test.rem(423): Trig = Monday, 13 September, 1993 $T => 1993-09-13 wkdaynum(1993-09-13) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 20 September, 1993 +../tests/test.rem(423): Trig = Monday, 20 September, 1993 $T => 1993-09-20 wkdaynum(1993-09-20) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 27 September, 1993 +../tests/test.rem(423): Trig = Monday, 27 September, 1993 $T => 1993-09-27 wkdaynum(1993-09-27) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 4 October, 1993 +../tests/test.rem(423): Trig = Monday, 4 October, 1993 $T => 1993-10-04 wkdaynum(1993-10-04) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 11 October, 1993 +../tests/test.rem(423): Trig = Monday, 11 October, 1993 $T => 1993-10-11 wkdaynum(1993-10-11) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 18 October, 1993 +../tests/test.rem(423): Trig = Monday, 18 October, 1993 $T => 1993-10-18 wkdaynum(1993-10-18) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 25 October, 1993 +../tests/test.rem(423): Trig = Monday, 25 October, 1993 $T => 1993-10-25 wkdaynum(1993-10-25) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 1 November, 1993 +../tests/test.rem(423): Trig = Monday, 1 November, 1993 $T => 1993-11-01 wkdaynum(1993-11-01) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 8 November, 1993 +../tests/test.rem(423): Trig = Monday, 8 November, 1993 $T => 1993-11-08 wkdaynum(1993-11-08) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 15 November, 1993 +../tests/test.rem(423): Trig = Monday, 15 November, 1993 $T => 1993-11-15 wkdaynum(1993-11-15) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 22 November, 1993 +../tests/test.rem(423): Trig = Monday, 22 November, 1993 $T => 1993-11-22 wkdaynum(1993-11-22) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 29 November, 1993 +../tests/test.rem(423): Trig = Monday, 29 November, 1993 $T => 1993-11-29 wkdaynum(1993-11-29) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 6 December, 1993 +../tests/test.rem(423): Trig = Monday, 6 December, 1993 $T => 1993-12-06 wkdaynum(1993-12-06) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 13 December, 1993 +../tests/test.rem(423): Trig = Monday, 13 December, 1993 $T => 1993-12-13 wkdaynum(1993-12-13) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 20 December, 1993 +../tests/test.rem(423): Trig = Monday, 20 December, 1993 $T => 1993-12-20 wkdaynum(1993-12-20) => 1 1 == 3 => 0 -../tests/test.rem(416): Trig = Monday, 27 December, 1993 +../tests/test.rem(423): Trig = Monday, 27 December, 1993 $T => 1993-12-27 wkdaynum(1993-12-27) => 1 1 == 3 => 0 @@ -2548,7 +2561,7 @@ a086 4 a109 2012-01-01 a128 2018-02-03@16:45 a039 "February" -a058 "03.03.09" +a058 "03.03.10" a077 "1992 92 " a096 -4 @@ -2648,10 +2661,10 @@ Variable Value $aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa: Name too long OMIT 2010-09-03 THROUGH 2010-09-15 OMIT December 25 MSG X -../tests/test.rem(421): Trig = Wednesday, 25 December, 1991 +../tests/test.rem(428): Trig = Wednesday, 25 December, 1991 # Next should give a parse error OMIT 26 Dec 2010 THROUGH 27 Dec 2010 MSG This is not legal -../tests/test.rem(423): Trig = Sunday, 26 December, 2010 +../tests/test.rem(430): Trig = Sunday, 26 December, 2010 OMIT DUMP Global Full OMITs (16 of maximum allowed 500): 1991-03-11 @@ -2683,287 +2696,287 @@ a => 5761 hebdate(14, "Adar", 1991-02-16, 5761) => 1991-02-28 trigger(1991-02-28) => "28 February 1991" Leaving UserFN _i() => "28 February 1991" -../tests/test.rem(426): Trig = Thursday, 28 February, 1991 +../tests/test.rem(433): Trig = Thursday, 28 February, 1991 # Regression test for bug found by Larry Hynes REM SATISFY [day(trigdate()-25) == 14] MSG Foo -../tests/test.rem(429): Trig = Saturday, 16 February, 1991 +../tests/test.rem(436): Trig = Saturday, 16 February, 1991 trigdate() => 1991-02-16 1991-02-16 - 25 => 1991-01-22 day(1991-01-22) => 22 22 == 14 => 0 -../tests/test.rem(429): Trig = Sunday, 17 February, 1991 +../tests/test.rem(436): Trig = Sunday, 17 February, 1991 trigdate() => 1991-02-17 1991-02-17 - 25 => 1991-01-23 day(1991-01-23) => 23 23 == 14 => 0 -../tests/test.rem(429): Trig = Monday, 18 February, 1991 +../tests/test.rem(436): Trig = Monday, 18 February, 1991 trigdate() => 1991-02-18 1991-02-18 - 25 => 1991-01-24 day(1991-01-24) => 24 24 == 14 => 0 -../tests/test.rem(429): Trig = Tuesday, 19 February, 1991 +../tests/test.rem(436): Trig = Tuesday, 19 February, 1991 trigdate() => 1991-02-19 1991-02-19 - 25 => 1991-01-25 day(1991-01-25) => 25 25 == 14 => 0 -../tests/test.rem(429): Trig = Wednesday, 20 February, 1991 +../tests/test.rem(436): Trig = Wednesday, 20 February, 1991 trigdate() => 1991-02-20 1991-02-20 - 25 => 1991-01-26 day(1991-01-26) => 26 26 == 14 => 0 -../tests/test.rem(429): Trig = Thursday, 21 February, 1991 +../tests/test.rem(436): Trig = Thursday, 21 February, 1991 trigdate() => 1991-02-21 1991-02-21 - 25 => 1991-01-27 day(1991-01-27) => 27 27 == 14 => 0 -../tests/test.rem(429): Trig = Friday, 22 February, 1991 +../tests/test.rem(436): Trig = Friday, 22 February, 1991 trigdate() => 1991-02-22 1991-02-22 - 25 => 1991-01-28 day(1991-01-28) => 28 28 == 14 => 0 -../tests/test.rem(429): Trig = Saturday, 23 February, 1991 +../tests/test.rem(436): Trig = Saturday, 23 February, 1991 trigdate() => 1991-02-23 1991-02-23 - 25 => 1991-01-29 day(1991-01-29) => 29 29 == 14 => 0 -../tests/test.rem(429): Trig = Sunday, 24 February, 1991 +../tests/test.rem(436): Trig = Sunday, 24 February, 1991 trigdate() => 1991-02-24 1991-02-24 - 25 => 1991-01-30 day(1991-01-30) => 30 30 == 14 => 0 -../tests/test.rem(429): Trig = Monday, 25 February, 1991 +../tests/test.rem(436): Trig = Monday, 25 February, 1991 trigdate() => 1991-02-25 1991-02-25 - 25 => 1991-01-31 day(1991-01-31) => 31 31 == 14 => 0 -../tests/test.rem(429): Trig = Tuesday, 26 February, 1991 +../tests/test.rem(436): Trig = Tuesday, 26 February, 1991 trigdate() => 1991-02-26 1991-02-26 - 25 => 1991-02-01 day(1991-02-01) => 1 1 == 14 => 0 -../tests/test.rem(429): Trig = Wednesday, 27 February, 1991 +../tests/test.rem(436): Trig = Wednesday, 27 February, 1991 trigdate() => 1991-02-27 1991-02-27 - 25 => 1991-02-02 day(1991-02-02) => 2 2 == 14 => 0 -../tests/test.rem(429): Trig = Thursday, 28 February, 1991 +../tests/test.rem(436): Trig = Thursday, 28 February, 1991 trigdate() => 1991-02-28 1991-02-28 - 25 => 1991-02-03 day(1991-02-03) => 3 3 == 14 => 0 -../tests/test.rem(429): Trig = Friday, 1 March, 1991 +../tests/test.rem(436): Trig = Friday, 1 March, 1991 trigdate() => 1991-03-01 1991-03-01 - 25 => 1991-02-04 day(1991-02-04) => 4 4 == 14 => 0 -../tests/test.rem(429): Trig = Saturday, 2 March, 1991 +../tests/test.rem(436): Trig = Saturday, 2 March, 1991 trigdate() => 1991-03-02 1991-03-02 - 25 => 1991-02-05 day(1991-02-05) => 5 5 == 14 => 0 -../tests/test.rem(429): Trig = Sunday, 3 March, 1991 +../tests/test.rem(436): Trig = Sunday, 3 March, 1991 trigdate() => 1991-03-03 1991-03-03 - 25 => 1991-02-06 day(1991-02-06) => 6 6 == 14 => 0 -../tests/test.rem(429): Trig = Monday, 4 March, 1991 +../tests/test.rem(436): Trig = Monday, 4 March, 1991 trigdate() => 1991-03-04 1991-03-04 - 25 => 1991-02-07 day(1991-02-07) => 7 7 == 14 => 0 -../tests/test.rem(429): Trig = Tuesday, 5 March, 1991 +../tests/test.rem(436): Trig = Tuesday, 5 March, 1991 trigdate() => 1991-03-05 1991-03-05 - 25 => 1991-02-08 day(1991-02-08) => 8 8 == 14 => 0 -../tests/test.rem(429): Trig = Wednesday, 6 March, 1991 +../tests/test.rem(436): Trig = Wednesday, 6 March, 1991 trigdate() => 1991-03-06 1991-03-06 - 25 => 1991-02-09 day(1991-02-09) => 9 9 == 14 => 0 -../tests/test.rem(429): Trig = Thursday, 7 March, 1991 +../tests/test.rem(436): Trig = Thursday, 7 March, 1991 trigdate() => 1991-03-07 1991-03-07 - 25 => 1991-02-10 day(1991-02-10) => 10 10 == 14 => 0 -../tests/test.rem(429): Trig = Friday, 8 March, 1991 +../tests/test.rem(436): Trig = Friday, 8 March, 1991 trigdate() => 1991-03-08 1991-03-08 - 25 => 1991-02-11 day(1991-02-11) => 11 11 == 14 => 0 -../tests/test.rem(429): Trig = Saturday, 9 March, 1991 +../tests/test.rem(436): Trig = Saturday, 9 March, 1991 trigdate() => 1991-03-09 1991-03-09 - 25 => 1991-02-12 day(1991-02-12) => 12 12 == 14 => 0 -../tests/test.rem(429): Trig = Sunday, 10 March, 1991 +../tests/test.rem(436): Trig = Sunday, 10 March, 1991 trigdate() => 1991-03-10 1991-03-10 - 25 => 1991-02-13 day(1991-02-13) => 13 13 == 14 => 0 -../tests/test.rem(429): Trig = Monday, 11 March, 1991 +../tests/test.rem(436): Trig = Monday, 11 March, 1991 trigdate() => 1991-03-11 1991-03-11 - 25 => 1991-02-14 day(1991-02-14) => 14 14 == 14 => 1 -../tests/test.rem(429): Trig(satisfied) = Monday, 11 March, 1991 +../tests/test.rem(436): Trig(satisfied) = Monday, 11 March, 1991 # Check combo of SATISFY and long-duration events REM 14 SATISFY [$Tw == 4] MSG Thursday, the 14th -../tests/test.rem(432): Trig = Thursday, 14 March, 1991 +../tests/test.rem(439): Trig = Thursday, 14 March, 1991 $Tw => 4 4 == 4 => 1 -../tests/test.rem(432): Trig(satisfied) = Thursday, 14 March, 1991 +../tests/test.rem(439): Trig(satisfied) = Thursday, 14 March, 1991 REM 14 AT 16:00 DURATION 8:00 SATISFY [$Tw == 4] MSG Thursday, the 14th -../tests/test.rem(433): Trig = Thursday, 14 March, 1991 AT 16:00 DURATION 08:00 +../tests/test.rem(440): Trig = Thursday, 14 March, 1991 AT 16:00 DURATION 08:00 $Tw => 4 4 == 4 => 1 -../tests/test.rem(433): Trig(satisfied) = Thursday, 14 March, 1991 AT 16:00 DURATION 08:00 +../tests/test.rem(440): Trig(satisfied) = Thursday, 14 March, 1991 AT 16:00 DURATION 08:00 REM 14 AT 16:00 DURATION 8:01 SATISFY [$Tw == 4] MSG Thursday, the 14th -../tests/test.rem(434): Trig = Thursday, 14 March, 1991 AT 16:00 DURATION 08:01 -../tests/test.rem(434): Trig = Thursday, 14 March, 1991 AT 16:00 DURATION 08:01 +../tests/test.rem(441): Trig = Thursday, 14 March, 1991 AT 16:00 DURATION 08:01 +../tests/test.rem(441): Trig = Thursday, 14 March, 1991 AT 16:00 DURATION 08:01 $Tw => 4 4 == 4 => 1 -../tests/test.rem(434): Trig(satisfied) = Thursday, 14 March, 1991 AT 16:00 DURATION 08:01 +../tests/test.rem(441): Trig(satisfied) = Thursday, 14 March, 1991 AT 16:00 DURATION 08:01 REM 14 AT 16:00 DURATION 32:00 SATISFY [$Tw == 4] MSG Thursday, the 14th -../tests/test.rem(435): Trig = Thursday, 14 March, 1991 AT 16:00 DURATION 32:00 -../tests/test.rem(435): Trig = Thursday, 14 March, 1991 AT 16:00 DURATION 32:00 +../tests/test.rem(442): Trig = Thursday, 14 March, 1991 AT 16:00 DURATION 32:00 +../tests/test.rem(442): Trig = Thursday, 14 March, 1991 AT 16:00 DURATION 32:00 $Tw => 4 4 == 4 => 1 -../tests/test.rem(435): Trig(satisfied) = Thursday, 14 March, 1991 AT 16:00 DURATION 32:00 +../tests/test.rem(442): Trig(satisfied) = Thursday, 14 March, 1991 AT 16:00 DURATION 32:00 REM 14 AT 16:00 DURATION 32:01 SATISFY [$Tw == 4] MSG Thursday, the 14th -../tests/test.rem(436): Trig = Thursday, 14 March, 1991 AT 16:00 DURATION 32:01 -../tests/test.rem(436): Trig = Thursday, 14 February, 1991 AT 16:00 DURATION 32:01 +../tests/test.rem(443): Trig = Thursday, 14 March, 1991 AT 16:00 DURATION 32:01 +../tests/test.rem(443): Trig = Thursday, 14 February, 1991 AT 16:00 DURATION 32:01 $Tw => 4 4 == 4 => 1 -../tests/test.rem(436): Trig(adj) = Saturday, 16 February, 1991 AT 00:00 DURATION 00:01 -../tests/test.rem(436): Trig(satisfied) = Saturday, 16 February, 1991 AT 00:00 DURATION 00:01 +../tests/test.rem(443): Trig(adj) = Saturday, 16 February, 1991 AT 00:00 DURATION 00:01 +../tests/test.rem(443): Trig(satisfied) = Saturday, 16 February, 1991 AT 00:00 DURATION 00:01 Thursday, the 14th REM 14 AT 16:00 DURATION 40:00 SATISFY [$Tw == 4] MSG Thursday, the 14th -../tests/test.rem(437): Trig = Thursday, 14 March, 1991 AT 16:00 DURATION 40:00 -../tests/test.rem(437): Trig = Thursday, 14 February, 1991 AT 16:00 DURATION 40:00 +../tests/test.rem(444): Trig = Thursday, 14 March, 1991 AT 16:00 DURATION 40:00 +../tests/test.rem(444): Trig = Thursday, 14 February, 1991 AT 16:00 DURATION 40:00 $Tw => 4 4 == 4 => 1 -../tests/test.rem(437): Trig(adj) = Saturday, 16 February, 1991 AT 00:00 DURATION 08:00 -../tests/test.rem(437): Trig(satisfied) = Saturday, 16 February, 1991 AT 00:00 DURATION 08:00 +../tests/test.rem(444): Trig(adj) = Saturday, 16 February, 1991 AT 00:00 DURATION 08:00 +../tests/test.rem(444): Trig(satisfied) = Saturday, 16 February, 1991 AT 00:00 DURATION 08:00 Thursday, the 14th # This is now an error REM DURATION 15:00 MSG Should fail... need AT if you have DURATION. -../tests/test.rem(440): Cannot specify DURATION without specifying AT +../tests/test.rem(447): Cannot specify DURATION without specifying AT # Parsing of AM/PM times REM AT 0:00am MSG foo 0a -../tests/test.rem(443): Expecting time after AT +../tests/test.rem(450): Expecting time after AT REM AT 1:00AM MSG foo 1a -../tests/test.rem(444): Trig = Saturday, 16 February, 1991 AT 01:00 +../tests/test.rem(451): Trig = Saturday, 16 February, 1991 AT 01:00 foo 1a REM AT 2:00am MSG foo 2a -../tests/test.rem(445): Trig = Saturday, 16 February, 1991 AT 02:00 +../tests/test.rem(452): Trig = Saturday, 16 February, 1991 AT 02:00 foo 2a REM AT 3:00AM MSG foo 3a -../tests/test.rem(446): Trig = Saturday, 16 February, 1991 AT 03:00 +../tests/test.rem(453): Trig = Saturday, 16 February, 1991 AT 03:00 foo 3a REM AT 4:00am MSG foo 4a -../tests/test.rem(447): Trig = Saturday, 16 February, 1991 AT 04:00 +../tests/test.rem(454): Trig = Saturday, 16 February, 1991 AT 04:00 foo 4a REM AT 5:00AM MSG foo 5a -../tests/test.rem(448): Trig = Saturday, 16 February, 1991 AT 05:00 +../tests/test.rem(455): Trig = Saturday, 16 February, 1991 AT 05:00 foo 5a REM AT 6:00am MSG foo 6a -../tests/test.rem(449): Trig = Saturday, 16 February, 1991 AT 06:00 +../tests/test.rem(456): Trig = Saturday, 16 February, 1991 AT 06:00 foo 6a REM AT 7:00AM MSG foo 7a -../tests/test.rem(450): Trig = Saturday, 16 February, 1991 AT 07:00 +../tests/test.rem(457): Trig = Saturday, 16 February, 1991 AT 07:00 foo 7a REM AT 8:00am MSG foo 8a -../tests/test.rem(451): Trig = Saturday, 16 February, 1991 AT 08:00 +../tests/test.rem(458): Trig = Saturday, 16 February, 1991 AT 08:00 foo 8a REM AT 9:00AM MSG foo 9a -../tests/test.rem(452): Trig = Saturday, 16 February, 1991 AT 09:00 +../tests/test.rem(459): Trig = Saturday, 16 February, 1991 AT 09:00 foo 9a REM AT 10:00am MSG foo 10a -../tests/test.rem(453): Trig = Saturday, 16 February, 1991 AT 10:00 +../tests/test.rem(460): Trig = Saturday, 16 February, 1991 AT 10:00 foo 10a REM AT 11:00AM MSG foo 11a -../tests/test.rem(454): Trig = Saturday, 16 February, 1991 AT 11:00 +../tests/test.rem(461): Trig = Saturday, 16 February, 1991 AT 11:00 foo 11a REM AT 12:00am MSG foo 12a -../tests/test.rem(455): Trig = Saturday, 16 February, 1991 AT 00:00 +../tests/test.rem(462): Trig = Saturday, 16 February, 1991 AT 00:00 foo 12a REM AT 13:00AM MSG foo 13a -../tests/test.rem(456): Expecting time after AT +../tests/test.rem(463): Expecting time after AT REM AT 0:00pm MSG foo 0p -../tests/test.rem(457): Expecting time after AT +../tests/test.rem(464): Expecting time after AT REM AT 1:00PM MSG foo 1p -../tests/test.rem(458): Trig = Saturday, 16 February, 1991 AT 13:00 +../tests/test.rem(465): Trig = Saturday, 16 February, 1991 AT 13:00 foo 1p REM AT 2:00pm MSG foo 2p -../tests/test.rem(459): Trig = Saturday, 16 February, 1991 AT 14:00 +../tests/test.rem(466): Trig = Saturday, 16 February, 1991 AT 14:00 foo 2p REM AT 3:00PM MSG foo 3p -../tests/test.rem(460): Trig = Saturday, 16 February, 1991 AT 15:00 +../tests/test.rem(467): Trig = Saturday, 16 February, 1991 AT 15:00 foo 3p REM AT 4:00pm MSG foo 4p -../tests/test.rem(461): Trig = Saturday, 16 February, 1991 AT 16:00 +../tests/test.rem(468): Trig = Saturday, 16 February, 1991 AT 16:00 foo 4p REM AT 5:00PM MSG foo 5p -../tests/test.rem(462): Trig = Saturday, 16 February, 1991 AT 17:00 +../tests/test.rem(469): Trig = Saturday, 16 February, 1991 AT 17:00 foo 5p REM AT 6:00pm MSG foo 6p -../tests/test.rem(463): Trig = Saturday, 16 February, 1991 AT 18:00 +../tests/test.rem(470): Trig = Saturday, 16 February, 1991 AT 18:00 foo 6p REM AT 7:00PM MSG foo 7p -../tests/test.rem(464): Trig = Saturday, 16 February, 1991 AT 19:00 +../tests/test.rem(471): Trig = Saturday, 16 February, 1991 AT 19:00 foo 7p REM AT 8:00pm MSG foo 8p -../tests/test.rem(465): Trig = Saturday, 16 February, 1991 AT 20:00 +../tests/test.rem(472): Trig = Saturday, 16 February, 1991 AT 20:00 foo 8p REM AT 9:00PM MSG foo 9p -../tests/test.rem(466): Trig = Saturday, 16 February, 1991 AT 21:00 +../tests/test.rem(473): Trig = Saturday, 16 February, 1991 AT 21:00 foo 9p REM AT 10:00pm MSG foo 10p -../tests/test.rem(467): Trig = Saturday, 16 February, 1991 AT 22:00 +../tests/test.rem(474): Trig = Saturday, 16 February, 1991 AT 22:00 foo 10p REM AT 11:00PM MSG foo 11p -../tests/test.rem(468): Trig = Saturday, 16 February, 1991 AT 23:00 +../tests/test.rem(475): Trig = Saturday, 16 February, 1991 AT 23:00 foo 11p REM AT 12:00pm MSG foo 12p -../tests/test.rem(469): Trig = Saturday, 16 February, 1991 AT 12:00 +../tests/test.rem(476): Trig = Saturday, 16 February, 1991 AT 12:00 foo 12p REM AT 13:00PM MSG foo 13p -../tests/test.rem(470): Expecting time after AT +../tests/test.rem(477): Expecting time after AT DEBUG +x SET x 0:00am + 0 -../tests/test.rem(473): Ill-formed time +../tests/test.rem(480): Ill-formed time SET x 1:00AM + 0 01:00 + 0 => 01:00 SET x 2:00am + 0 @@ -2989,10 +3002,10 @@ SET x 11:00AM + 0 SET x 12:00am + 0 00:00 + 0 => 00:00 SET x 13:00AM + 0 -../tests/test.rem(486): Ill-formed time +../tests/test.rem(493): Ill-formed time SET x 0:00pm + 0 -../tests/test.rem(488): Ill-formed time +../tests/test.rem(495): Ill-formed time SET x 1:00PM + 0 13:00 + 0 => 13:00 SET x 2:00pm + 0 @@ -3018,10 +3031,10 @@ SET x 11:00PM + 0 SET x 12:00pm + 0 12:00 + 0 => 12:00 SET x 13:00PM + 0 -../tests/test.rem(501): Ill-formed time +../tests/test.rem(508): Ill-formed time SET x '2015-02-03@0:00am' + 0 -../tests/test.rem(503): Ill-formed time +../tests/test.rem(510): Ill-formed time SET x '2015-02-03@1:00AM' + 0 2015-02-03@01:00 + 0 => 2015-02-03@01:00 SET x '2015-02-03@2:00am' + 0 @@ -3047,10 +3060,10 @@ SET x '2015-02-03@11:00AM' + 0 SET x '2015-02-03@12:00am' + 0 2015-02-03@00:00 + 0 => 2015-02-03@00:00 SET x '2015-02-03@13:00AM' + 0 -../tests/test.rem(516): Ill-formed time +../tests/test.rem(523): Ill-formed time SET x '2015-02-03@0:00pm' + 0 -../tests/test.rem(518): Ill-formed time +../tests/test.rem(525): Ill-formed time SET x '2015-02-03@1:00PM' + 0 2015-02-03@13:00 + 0 => 2015-02-03@13:00 SET x '2015-02-03@2:00pm' + 0 @@ -3076,7 +3089,7 @@ SET x '2015-02-03@11:00PM' + 0 SET x '2015-02-03@12:00pm' + 0 2015-02-03@12:00 + 0 => 2015-02-03@12:00 SET x '2015-02-03@13:00PM' + 0 -../tests/test.rem(531): Ill-formed time +../tests/test.rem(538): Ill-formed time # Test the ampm function set x ampm(0:12) + "" @@ -3172,95 +3185,95 @@ coerce("DATETIME", "2020-05-05@1:45pm") => 2020-05-05@13:45 set a $IntMin - 1 $IntMin => -2147483648 -2147483648 - 1 => Number too high -../tests/test.rem(570): `-': Number too high +../tests/test.rem(577): `-': Number too high set a $IntMin - $IntMax $IntMin => -2147483648 $IntMax => 2147483647 -2147483648 - 2147483647 => Number too high -../tests/test.rem(571): `-': Number too high +../tests/test.rem(578): `-': Number too high set a $IntMax - $IntMin $IntMax => 2147483647 $IntMin => -2147483648 2147483647 - -2147483648 => Number too high -../tests/test.rem(572): `-': Number too high +../tests/test.rem(579): `-': Number too high set a $IntMax - (-1) $IntMax => 2147483647 - 1 => -1 2147483647 - -1 => Number too high -../tests/test.rem(573): `-': Number too high +../tests/test.rem(580): `-': Number too high set a $IntMax + 1 $IntMax => 2147483647 2147483647 + 1 => Number too high -../tests/test.rem(574): `+': Number too high +../tests/test.rem(581): `+': Number too high set a $IntMax + $IntMax $IntMax => 2147483647 $IntMax => 2147483647 2147483647 + 2147483647 => Number too high -../tests/test.rem(575): `+': Number too high +../tests/test.rem(582): `+': Number too high set a $IntMin + (-1) $IntMin => -2147483648 - 1 => -1 -2147483648 + -1 => Number too high -../tests/test.rem(576): `+': Number too high +../tests/test.rem(583): `+': Number too high set a $IntMin + $IntMin $IntMin => -2147483648 $IntMin => -2147483648 -2147483648 + -2147483648 => Number too high -../tests/test.rem(577): `+': Number too high +../tests/test.rem(584): `+': Number too high set a $IntMax * 2 $IntMax => 2147483647 2147483647 * 2 => Number too high -../tests/test.rem(578): `*': Number too high +../tests/test.rem(585): `*': Number too high set a $IntMax * $IntMax $IntMax => 2147483647 $IntMax => 2147483647 2147483647 * 2147483647 => Number too high -../tests/test.rem(579): `*': Number too high +../tests/test.rem(586): `*': Number too high set a $IntMax * $IntMin $IntMax => 2147483647 $IntMin => -2147483648 2147483647 * -2147483648 => Number too high -../tests/test.rem(580): `*': Number too high +../tests/test.rem(587): `*': Number too high set a $IntMin * 2 $IntMin => -2147483648 -2147483648 * 2 => Number too high -../tests/test.rem(581): `*': Number too high +../tests/test.rem(588): `*': Number too high set a $IntMin * $IntMin $IntMin => -2147483648 $IntMin => -2147483648 -2147483648 * -2147483648 => Number too high -../tests/test.rem(582): `*': Number too high +../tests/test.rem(589): `*': Number too high set a $IntMin * $IntMax $IntMin => -2147483648 $IntMax => 2147483647 -2147483648 * 2147483647 => Number too high -../tests/test.rem(583): `*': Number too high +../tests/test.rem(590): `*': Number too high set a $IntMin / (-1) $IntMin => -2147483648 - 1 => -1 -2147483648 / -1 => Number too high -../tests/test.rem(584): `/': Number too high +../tests/test.rem(591): `/': Number too high set a $IntMin * (-1) $IntMin => -2147483648 - 1 => -1 -2147483648 * -1 => Number too high -../tests/test.rem(585): `*': Number too high +../tests/test.rem(592): `*': Number too high set a (-1) * $IntMin - 1 => -1 $IntMin => -2147483648 -1 * -2147483648 => Number too high -../tests/test.rem(586): `*': Number too high +../tests/test.rem(593): `*': Number too high set a abs($IntMin) $IntMin => -2147483648 abs(-2147483648) => Number too high -../tests/test.rem(587): Number too high +../tests/test.rem(594): Number too high # Shellescape set a shellescape(" !\"#$%%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~") shellescape(" !"#$%%&'()*+,-./0123456789:;<=>?@ABCDEF"...) => "\ \!\"\#\$\%\%\&\'\(\)\*+,-./0123456789\"... msg [a] -../tests/test.rem(592): Trig = Saturday, 16 February, 1991 +../tests/test.rem(599): Trig = Saturday, 16 February, 1991 a => "\ \!\"\#\$\%\%\&\'\(\)\*+,-./0123456789\"... \ \!\"\#\$\\\&\'\(\)\*+,-./0123456789\:\;\<=\>\?@ABCDEFGHIJKLMNOPQRSTUVWXYZ\[\\\]\^_\`abcdefghijklmnopqrstuvwxyz\{\|\}\~ diff --git a/tests/test.rem b/tests/test.rem index 915b4516..abb7751a 100644 --- a/tests/test.rem +++ b/tests/test.rem @@ -226,6 +226,13 @@ REM 1991/02/28@14:45 MSG Feb 28 REM Wed UNTIL 1991-01-01 MSG Expired REM Wed SCANFROM 1991-02-26 MSG SCANFROM +CLEAR-OMIT-CONTEXT +# Test ADDOMIT + +REM Mon 15 Feb ADDOMIT MSG Family Day +REM Feb 18 AFTER MSG Should trigger on Feb 19 +OMIT DUMP + set a000 abs(1) set a001 abs(-1) set a002 asc("foo")