Use DateUtils for the DateFormat factory