I started with the idea of separate fixed/sliding windows and a flag to control whether they were enabled, but ended up doing it this way as the date parsing control can be fully specified with two parameters. It's similar to http://documentation.softwareag.com/natural/nat638vms/parms/yslw.htm but with a different meaning for 0.