refactoring parameter parsing to prepare for multi-year month ranges