GregorianCalendar newCalendar = (GregorianCalendar) existingCalendar.clone();By the way, the best way to create a GregorianCalendar is with getInstance()
GregorianCalendar cal = (GregorianCalendar) GregorianCalendar.getInstance();
GregorianCalendar newCalendar = (GregorianCalendar) existingCalendar.clone();By the way, the best way to create a GregorianCalendar is with getInstance()
GregorianCalendar cal = (GregorianCalendar) GregorianCalendar.getInstance();