Example #1
0
 /**
  * Returns a new {@code SimpleDateFormat} with the same pattern and properties as this simple date
  * format.
  */
 @Override
 public Object clone() {
   SimpleDateFormat clone = (SimpleDateFormat) super.clone();
   clone.formatData = (DateFormatSymbols) formatData.clone();
   clone.defaultCenturyStart = new Date(defaultCenturyStart.getTime());
   return clone;
 }