Refactored the Joda formatter into the TimeContraint object.