Supporting java.util.Calendar in date formatting.