Move common functionality from date_parser.cpp into parser_util.hpp/cpp