Previous: Inclusive date period, Up: Exclusions with date argument


G.1.1.2 Exclusive date period %e[date][#[date]] special text

%e[date][#[date]] references an exclusive date period, i.e. all dates which are part of the specified period are invalid and remain undisplayed therefore. Of course this means, that all fixed dates which are not part of this period (not covered by it) are valid and are displayed.

The first specified date defines the starting date of the fixed date, i.e. the first date the fixed date may occur. For the starting date, the following rules concerning definite omission values are valid, elucidated by using the yyyy[mm[dd|wwwn]] date format:

The second specified date defines the ending date of the fixed date, i.e. the last date the fixed date may occur. For the ending date, the following rules concerning definite omission values are valid, likewise elucidated by using the yyyy[mm[dd|wwwn]] date format:

The preceding rules are analogously valid for the other permitted date formats.

If the starting date, which is encoded in the %e... special text, is later the ending date, the %e... special text will be ignored.

In case neither the starting date nor the ending date is specified, means only ‘%e’ is given, the implicit period 1st January 1...31st December 9999 (00010101...99991231) will be used.

If only the starting date is specified, means either ‘%edate’ or ‘%edate#’ is given, the implicit ending date 31st December 9999 (99991231) will be used.

In case only the ending date is specified, means ‘%e#date’ is given, the implicit starting date 1st January 1 (00010101) will be used.

For example:

     0d*1#999 Every day of year: except April and July\
             %e00004#00004 %e00007#00007
     ;
     0*d1#999 Every day of year: except January...October\
              %e#000010
     ;
     0*d1#999 Every day of year: until July 1990\
              %e19908
     ;
     0*d1#999 Every day of year: except August...December\
              %e00008
     ;
     0*d1#999 Every day of year: except today%e0@t#0@t