Code example for GregorianCalendar

Methods: beforeequalssetTime