Would it not make sense to use this parsing of DateTime also in the getDateTime() method?