Ejemplo n.º 1
0
 public Object clone() {
   DateTimeData dt =
       new DateTimeData(
           this.year,
           this.month,
           this.day,
           this.hour,
           this.minute,
           this.second,
           this.utc,
           this.originalValue,
           this.normalized,
           this.type);
   dt.canonical = this.canonical;
   dt.position = position;
   dt.timezoneHr = this.timezoneHr;
   dt.timezoneMin = this.timezoneMin;
   dt.unNormYear = this.unNormYear;
   dt.unNormMonth = this.unNormMonth;
   dt.unNormDay = this.unNormDay;
   dt.unNormHour = this.unNormHour;
   dt.unNormMinute = this.unNormMinute;
   dt.unNormSecond = this.unNormSecond;
   return dt;
 }