Comparing dates with like patterns
The compiler does not generate any special code to compare dates
with identical patterns under the following conditions:
- The comparison operator of = or ¬= is
used
- The pattern is equal to YYYY, YYYYMM, YYYYDDD, or YYYYMMDD.