Code example for GregorianCalendar

Methods: format, setTimeInMillis