Code example for GregorianCalendar

Methods: clone

0
  public int size;
  public String username;
 
  public Object clone() throws CloneNotSupportedException {
    LogData newData = (LogData) super.clone();
    newData.time = (GregorianCalendar) time.clone();
 
    return newData;
  } 
}