Code example for GregorianCalendar

Methods: compareTosetsetTime