Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
27 | 2 | 0 | 1.000 | Cases[8] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 27 | 539 | Closure/closure/goog/i18n/datetimeparse.js |
2 | 27 | 585 | Closure/closure/goog/locale/datetimeparse.js |
| ||||
case 'd': // DATE cal.day= value; return true; case 'S': // FRACTIONAL_SECOND return this.subParseFractionalSeconds_(value, pos, start, cal); case 'h': // HOUR (1..12) if (value== 12) { value= 0; } case 'K': // HOUR (0..11) case 'H': // HOUR_OF_DAY (0..23) case 'k': // HOUR_OF_DAY (1..24) cal.hours= value; return true; case 'm': // MINUTE cal.minutes= value; return true; case 's': // SECOND cal.seconds= value; return true; case 'z': // ZONE_OFFSET case 'Z': // TIMEZONE_RFC case 'v': // TIMEZONE_GENERIC return this.subparseTimeZoneInGMT_(text, pos, cal); default: return false; |
| ||||
case 'd': // DATE cal.day= value; return true; case 'S': // FRACTIONAL_SECOND return this.subParseFractionalSeconds_(value, pos, start, cal); case 'h': // HOUR (1..12) if (value== 12) { value= 0; } case 'K': // HOUR (0..11) case 'H': // HOUR_OF_DAY (0..23) case 'k': // HOUR_OF_DAY (1..24) cal.hours= value; return true; case 'm': // MINUTE cal.minutes= value; return true; case 's': // SECOND cal.seconds= value; return true; case 'z': // ZONE_OFFSET case 'Z': // TIMEZONE_RFC case 'v': // TIMEZONE_GENERIC return this.subparseTimeZoneInGMT_(text, pos, cal); default: return false; |
| |||
case 'd': // DATE cal.day=value; return true; case 'S': // FRACTIONAL_SECOND return this.subParseFractionalSeconds_(value,pos,start,cal); case 'h': // HOUR (1..12) if (value==12) { value=0; } case 'K': // HOUR (0..11) case 'H': // HOUR_OF_DAY (0..23) case 'k': // HOUR_OF_DAY (1..24) cal.hours=value; return true; case 'm': // MINUTE cal.minutes=value; return true; case 's': // SECOND cal.seconds=value; return true; case 'z': // ZONE_OFFSET case 'Z': // TIMEZONE_RFC case 'v': // TIMEZONE_GENERIC return this.subparseTimeZoneInGMT_(text,pos,cal); default: return false; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |