CloneSet796


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5210.983ExpressionStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
151635
Closure/closure/goog/date/date.js
2590
Closure/closure/goog/date/utcdatetime.js
Clone Instance
1
Line Count
5
Source Line
1635
Source File
Closure/closure/goog/date/date.js

/**
 * @return {!goog.date.DateTime} A clone of the datetime object.
 */
goog.date.DateTime.prototype.clone=  function ( )
                                                {
  var date=  new goog.date.DateTime(this.date_);
  date.setFirstDayOfWeek(this.getFirstDayOfWeek( ));
  date.setFirstWeekCutOffDay(this.getFirstWeekCutOffDay( ));
  return date;
                                                } ;


Clone Instance
2
Line Count
5
Source Line
90
Source File
Closure/closure/goog/date/utcdatetime.js

/**
 * Clones the UtcDateTime object.
 *
 * @return {goog.date.UtcDateTime} A clone of the datetime object.
 */
goog.date.UtcDateTime.prototype.clone=  function ( )
                                                   {
  var date=  new goog.date.UtcDateTime(this.date_);
  date.setFirstDayOfWeek(this.getFirstDayOfWeek( ));
  date.setFirstWeekCutOffDay(this.getFirstWeekCutOffDay( ));
  return date;
                                                   } ;


Clone AbstractionParameter Count: 1Parameter Bindings

/**
 * @return {!goog.date.DateTime} A clone of the datetime object.
 */
/**
 * Clones the UtcDateTime object.
 *
 * @return {goog.date.UtcDateTime} A clone of the datetime object.
 */
goog.date. [[#variable20db64e0]].prototype.clone= function ( )
                                                  { var date=new goog.date. [[#variable20db64e0]](this.date_);
                                                    date.setFirstDayOfWeek(this.getFirstDayOfWeek( ));
                                                    date.setFirstWeekCutOffDay(this.getFirstWeekCutOffDay( ));
                                                    return date;
                                                  } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#20db64e0]]
DateTime 
12[[#20db64e0]]
UtcDateTime