Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 2 | 2 | 0.957 | SourceElements[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 1025 | Closure/closure/goog/date/date.js |
2 | 12 | 1066 | Closure/closure/goog/date/date.js |
| ||||
/** * Sets the month part of the date. * * @param {number} month The month, where 0 = Jan, 11 = Dec. */ goog.date.Date.prototype.setMonth= function (month){ this.date_.setMonth(month); } ; /** * Sets the day part of the date. * * @param {number} date The day part. */ goog.date.Date.prototype.setDate= function (date){ this.date_.setDate(date); } ; |
| ||||
/** * Sets the month part of the date according to universal time. * * @param {number} month The month, where 0 = Jan, 11 = Dec. */ goog.date.Date.prototype.setUTCMonth= function (month){ this.date_.setUTCMonth(month); } ; /** * Sets the day part of the date according to universal time. * * @param {number} date The UTC date. */ goog.date.Date.prototype.setUTCDate= function (date){ this.date_.setUTCDate(date); } ; |
| |||
/** * Sets the month part of the date. * * @param {number} month The month, where 0 = Jan, 11 = Dec. */ /** * Sets the month part of the date according to universal time. * * @param {number} month The month, where 0 = Jan, 11 = Dec. */ goog.date.Date.prototype. [[#variable41b80580]]= function (month) { this.date_. [[#variable41b80580]](month); } ; /** * Sets the day part of the date. * * @param {number} date The day part. */ /** * Sets the day part of the date according to universal time. * * @param {number} date The UTC date. */ goog.date.Date.prototype. [[#variable41b80540]]= function (date) { this.date_. [[#variable41b80540]](date); } ; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#41b80580]] | setMonth |
1 | 2 | [[#41b80580]] | setUTCMonth |
2 | 1 | [[#41b80540]] | setDate |
2 | 2 | [[#41b80540]] | setUTCDate |