Callback used by ParseInfo to parse custom DateTime formats
typedef ParserCallback = DateTime Function(String value, ParseInfo pi);