Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 4 | 3 | 0.960 | ExpressionStatement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 466 | Closure/closure/goog/ui/datepicker.js |
2 | 3 | 475 | Closure/closure/goog/ui/datepicker.js |
3 | 3 | 484 | Closure/closure/goog/ui/datepicker.js |
4 | 3 | 493 | Closure/closure/goog/ui/datepicker.js |
| ||||
/** * Changes the active month to the previous one. */ goog.ui.DatePicker.prototype.previousMonth= function ( ) { this.activeMonth_.add(new goog.date.Interval(goog.date.Interval.MONTHS, -1)); this.updateCalendarGrid_( ); } ; |
| ||||
/** * Changes the active month to the next one. */ goog.ui.DatePicker.prototype.nextMonth= function ( ) { this.activeMonth_.add(new goog.date.Interval(goog.date.Interval.MONTHS, 1)); this.updateCalendarGrid_( ); } ; |
| ||||
/** * Changes the active year to the previous one. */ goog.ui.DatePicker.prototype.previousYear= function ( ) { this.activeMonth_.add(new goog.date.Interval(goog.date.Interval.YEARS, -1)); this.updateCalendarGrid_( ); } ; |
| ||||
/** * Changes the active year to the next one. */ goog.ui.DatePicker.prototype.nextYear= function ( ) { this.activeMonth_.add(new goog.date.Interval(goog.date.Interval.YEARS, 1)); this.updateCalendarGrid_( ); } ; |
| |||
/** * Changes the active year to the next one. */ /** * Changes the active year to the previous one. */ /** * Changes the active month to the next one. */ /** * Changes the active month to the previous one. */ goog.ui.DatePicker.prototype. [[#variable62b37040]]= function ( ) { this.activeMonth_.add(new goog.date.Interval(goog.date.Interval. [[#variable62b36fc0]], [[#variable62b36e60]])); this.updateCalendarGrid_( ); } ; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#62b37040]] | nextYear |
1 | 2 | [[#62b37040]] | previousYear |
1 | 3 | [[#62b37040]] | nextMonth |
1 | 4 | [[#62b37040]] | previousMonth |
2 | 1 | [[#62b36fc0]] | YEARS |
2 | 2 | [[#62b36fc0]] | YEARS |
2 | 3 | [[#62b36fc0]] | MONTHS |
2 | 4 | [[#62b36fc0]] | MONTHS |
3 | 1 | [[#62b36e60]] | 1 |
3 | 2 | [[#62b36e60]] | -1 |
3 | 3 | [[#62b36e60]] | 1 |
3 | 4 | [[#62b36e60]] | -1 |