Code example for GregorianCalendar

Methods: format