Refactoring date parser into a combinator