CloneSet424


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
20250.953SourceElements[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
118814
Closure/closure/goog/date/date.js
220880
Closure/closure/goog/date/date.js
Clone Instance
1
Line Count
18
Source Line
814
Source File
Closure/closure/goog/date/date.js

/**
 * @return {number} The day of week, US style. 0 = Sun, 6 = Sat.
 */
goog.date.Date.prototype.getDay=  function ( )
                                             {
  return this.date_.getDay( );
                                             } ;

/**
 * @return {number} The day of week, ISO style. 0 = Mon, 6 = Sun.
 */
goog.date.Date.prototype.getIsoWeekday=  function ( )
                                                    {
  return (this.getDay( )+ 6)%  7;
                                                    } ;

/**
 * @return {number} The day of week according to firstDayOfWeek setting.
 */
goog.date.Date.prototype.getWeekday=  function ( )
                                                 {
  return (this.getIsoWeekday( )- this.firstDayOfWeek_+  7)%  7;
                                                 } ;


Clone Instance
2
Line Count
20
Source Line
880
Source File
Closure/closure/goog/date/date.js

/**
 * @return {number} The hours value according to universal time.
 */
goog.date.Date.prototype.getUTCMinutes=  function ( )
                                                    {
  return this.date_.getUTCMinutes( );
                                                    } ;

/**
 * @return {number} The day of week according to universal time, ISO style.
 *     0 = Mon, 6 = Sun.
 */
goog.date.Date.prototype.getUTCIsoWeekday=  function ( )
                                                       {
  return (this.date_.getUTCDay( )+ 6)%  7;
                                                       } ;

/**
 * @return {number} The day of week according to universal time and
 *     firstDayOfWeek setting.
 */
goog.date.Date.prototype.getUTCWeekday=  function ( )
                                                    {
  return (this.getUTCIsoWeekday( )- this.firstDayOfWeek_+  7)%  7;
                                                    } ;


Clone AbstractionParameter Count: 5Parameter Bindings

/**
 * @return {number} The hours value according to universal time.
 */
/**
 * @return {number} The day of week, US style. 0 = Sun, 6 = Sat.
 */
goog.date.Date.prototype. [[#variable1fd22140]]= function ( )
                                                 { return this.date_. [[#variable1fd22140]]( );
                                                 } ;
/**
 * @return {number} The day of week according to universal time, ISO style.
 *     0 = Mon, 6 = Sun.
 */
/**
 * @return {number} The day of week, ISO style. 0 = Mon, 6 = Sun.
 */
goog.date.Date.prototype. [[#variable1fd22060]]= function ( )
                                                 { return ( [[#variable20306b60]]. [[#variable583b93c0]]( )+6)%7;
                                                 } ;
/**
 * @return {number} The day of week according to universal time and
 *     firstDayOfWeek setting.
 */
/**
 * @return {number} The day of week according to firstDayOfWeek setting.
 */
goog.date.Date.prototype. [[#variable1fd22100]]= function ( )
                                                 { return (this. [[#variable1fd22060]]( )-this.firstDayOfWeek_+7)%7;
                                                 } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1fd22140]]
getUTCMinutes 
12[[#1fd22140]]
getDay 
21[[#1fd22060]]
getUTCIsoWeekday 
22[[#1fd22060]]
getIsoWeekday 
31[[#20306b60]]
this.date_ 
32[[#20306b60]]
this 
41[[#583b93c0]]
getUTCDay 
42[[#583b93c0]]
getDay 
51[[#1fd22100]]
getUTCWeekday 
52[[#1fd22100]]
getWeekday