Move date formatting methods into the classes that contain the date they act on.