Moved common parse date and parse time code to a library module `DateAndTimeParser`