Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
32 | 2 | 4 | 0.957 | SourceElements[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 32 | 1364 | Closure/closure/goog/date/date.js |
2 | 32 | 1404 | Closure/closure/goog/date/date.js |
| ||||
/** * Sets the hours part of the datetime. * * @param {number} hours An integer between 0 and 23, representing the hour. */ goog.date.DateTime.prototype.setHours= function (hours){ this.date_.setHours(hours); } ; /** * Sets the minutes part of the datetime. * * @param {number} minutes Integer between 0 and 59, representing the minutes. */ goog.date.DateTime.prototype.setMinutes= function (minutes){ this.date_.setMinutes(minutes); } ; /** * Sets the seconds part of the datetime. * * @param {number} seconds Integer between 0 and 59, representing the seconds. */ goog.date.DateTime.prototype.setSeconds= function (seconds){ this.date_.setSeconds(seconds); } ; /** * Sets the seconds part of the datetime. * * @param {number} ms Integer between 0 and 999, representing the milliseconds. */ goog.date.DateTime.prototype.setMilliseconds= function (ms){ this.date_.setMilliseconds(ms); } ; |
| ||||
/** * Sets the hours part of the datetime according to universal time. * * @param {number} hours An integer between 0 and 23, representing the hour. */ goog.date.DateTime.prototype.setUTCHours= function (hours){ this.date_.setUTCHours(hours); } ; /** * Sets the minutes part of the datetime according to universal time. * * @param {number} minutes Integer between 0 and 59, representing the minutes. */ goog.date.DateTime.prototype.setUTCMinutes= function (minutes){ this.date_.setUTCMinutes(minutes); } ; /** * Sets the seconds part of the datetime according to universal time. * * @param {number} seconds Integer between 0 and 59, representing the seconds. */ goog.date.DateTime.prototype.setUTCSeconds= function (seconds){ this.date_.setUTCSeconds(seconds); } ; /** * Sets the seconds part of the datetime according to universal time. * * @param {number} ms Integer between 0 and 999, representing the milliseconds. */ goog.date.DateTime.prototype.setUTCMilliseconds= function (ms){ this.date_.setUTCMilliseconds(ms); } ; |
| |||
/** * Sets the hours part of the datetime. * * @param {number} hours An integer between 0 and 23, representing the hour. */ /** * Sets the hours part of the datetime according to universal time. * * @param {number} hours An integer between 0 and 23, representing the hour. */ goog.date.DateTime.prototype. [[#variable3a729860]]= function (hours) { this.date_. [[#variable3a729860]](hours); } ; /** * Sets the minutes part of the datetime. * * @param {number} minutes Integer between 0 and 59, representing the minutes. */ /** * Sets the minutes part of the datetime according to universal time. * * @param {number} minutes Integer between 0 and 59, representing the minutes. */ goog.date.DateTime.prototype. [[#variable3a729880]]= function (minutes) { this.date_. [[#variable3a729880]](minutes); } ; /** * Sets the seconds part of the datetime. * * @param {number} seconds Integer between 0 and 59, representing the seconds. */ /** * Sets the seconds part of the datetime according to universal time. * * @param {number} seconds Integer between 0 and 59, representing the seconds. */ goog.date.DateTime.prototype. [[#variable3a729800]]= function (seconds) { this.date_. [[#variable3a729800]](seconds); } ; /** * Sets the seconds part of the datetime. * * @param {number} ms Integer between 0 and 999, representing the milliseconds. */ /** * Sets the seconds part of the datetime according to universal time. * * @param {number} ms Integer between 0 and 999, representing the milliseconds. */ goog.date.DateTime.prototype. [[#variable3a729780]]= function (ms) { this.date_. [[#variable3a729780]](ms); } ; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#3a729860]] | setHours |
1 | 2 | [[#3a729860]] | setUTCHours |
2 | 1 | [[#3a729880]] | setMinutes |
2 | 2 | [[#3a729880]] | setUTCMinutes |
3 | 1 | [[#3a729800]] | setSeconds |
3 | 2 | [[#3a729800]] | setUTCSeconds |
4 | 1 | [[#3a729780]] | setMilliseconds |
4 | 2 | [[#3a729780]] | setUTCMilliseconds |