| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 12 | 4 | 2 | 0.956 | SourceElements[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 12 | 1274 | Closure/closure/goog/date/date.js |
| 2 | 12 | 1294 | Closure/closure/goog/date/date.js |
| 3 | 12 | 1314 | Closure/closure/goog/date/date.js |
| 4 | 12 | 1344 | Closure/closure/goog/date/date.js |
| ||||
/**
* Returns the hours part of the datetime.
*
* @return {number} An integer between 0 and 23, representing the hour.
*/
goog.date.DateTime.prototype.getHours= function ( )
{
return this.date_.getHours( );
} ;
/**
* Returns the minutes part of the datetime.
*
* @return {number} An integer between 0 and 59, representing the minutes.
*/
goog.date.DateTime.prototype.getMinutes= function ( )
{
return this.date_.getMinutes( );
} ;
|
| ||||
/**
* Returns the seconds part of the datetime.
*
* @return {number} An integer between 0 and 59, representing the seconds.
*/
goog.date.DateTime.prototype.getSeconds= function ( )
{
return this.date_.getSeconds( );
} ;
/**
* Returns the milliseconds part of the datetime.
*
* @return {number} An integer between 0 and 999, representing the milliseconds.
*/
goog.date.DateTime.prototype.getMilliseconds= function ( )
{
return this.date_.getMilliseconds( );
} ;
|
| ||||
/**
* Returns the day of week according to universal time, US style.
*
* @return {number} Day of week, 0 = Sun, 1 = Mon, 6 = Sat.
*/
goog.date.DateTime.prototype.getUTCDay= function ( )
{
return this.date_.getUTCDay( );
} ;
/**
* Returns the hours part of the datetime according to universal time.
*
* @return {number} An integer between 0 and 23, representing the hour.
*/
goog.date.DateTime.prototype.getUTCHours= function ( )
{
return this.date_.getUTCHours( );
} ;
|
| ||||
/**
* Returns the seconds part of the datetime according to universal time.
*
* @return {number} An integer between 0 and 59, representing the seconds.
*/
goog.date.DateTime.prototype.getUTCSeconds= function ( )
{
return this.date_.getUTCSeconds( );
} ;
/**
* Returns the milliseconds part of the datetime according to universal time.
*
* @return {number} An integer between 0 and 999, representing the milliseconds.
*/
goog.date.DateTime.prototype.getUTCMilliseconds= function ( )
{
return this.date_.getUTCMilliseconds( );
} ;
|
| |||
/**
* Returns the hours part of the datetime.
*
* @return {number} An integer between 0 and 23, representing the hour.
*/
/**
* Returns the seconds part of the datetime.
*
* @return {number} An integer between 0 and 59, representing the seconds.
*/
/**
* Returns the day of week according to universal time, US style.
*
* @return {number} Day of week, 0 = Sun, 1 = Mon, 6 = Sat.
*/
/**
* Returns the seconds part of the datetime according to universal time.
*
* @return {number} An integer between 0 and 59, representing the seconds.
*/
goog.date.DateTime.prototype. [[#variable5db658c0]]= function ( )
{ return this.date_. [[#variable5db658c0]]( );
} ;
/**
* Returns the minutes part of the datetime.
*
* @return {number} An integer between 0 and 59, representing the minutes.
*/
/**
* Returns the milliseconds part of the datetime.
*
* @return {number} An integer between 0 and 999, representing the milliseconds.
*/
/**
* Returns the hours part of the datetime according to universal time.
*
* @return {number} An integer between 0 and 23, representing the hour.
*/
/**
* Returns the milliseconds part of the datetime according to universal time.
*
* @return {number} An integer between 0 and 999, representing the milliseconds.
*/
goog.date.DateTime.prototype. [[#variable571e9bc0]]= function ( )
{ return this.date_. [[#variable571e9bc0]]( );
} ;
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#5db658c0]] | getHours |
| 1 | 2 | [[#5db658c0]] | getSeconds |
| 1 | 3 | [[#5db658c0]] | getUTCDay |
| 1 | 4 | [[#5db658c0]] | getUTCSeconds |
| 2 | 1 | [[#571e9bc0]] | getMinutes |
| 2 | 2 | [[#571e9bc0]] | getMilliseconds |
| 2 | 3 | [[#571e9bc0]] | getUTCHours |
| 2 | 4 | [[#571e9bc0]] | getUTCMilliseconds |