Created DateParser class for parsing string tokens into date and time values.