public void setCalendar (Calendar newCalendar)

Set the calendar to be used by this date format. Initially, the default calendar for the specified or default locale is used.

Any TimeZone and leniency values that have previously been set are overwritten by newCalendar's values.

Parameters:
newCalendar    the new Calendar to be used by the date format