CloneSet1166


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4230.962ExpressionStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1450
Closure/closure/goog/locale/formatting.js
2467
Closure/closure/goog/locale/formatting.js
Clone Instance
1
Line Count
4
Source Line
50
Source File
Closure/closure/goog/locale/formatting.js

/**
 * Format the given date object into a string representation using pattern
 * specified.
 * @param {string} pattern Pattern String to specify how the date should
 *     be formatted.
 * @param {Date} date Date object being formatted.
 * @param {goog.locale.TimeZone=} opt_timeZone optional, if specified, time
 *    related fields will be formatted based on its setting.
 *
 * @return {string} string representation of date/time.
 * @deprecated Use goog.i18n.DateTimeFormat.
 */
goog.locale.formatDateTime=  function (pattern, date, opt_timeZone){
  var formatter=  new goog.locale.DateTimeFormat( );
  formatter.applyPattern(pattern);
  return formatter.format(date, opt_timeZone);
                                                                   } ;


Clone Instance
2
Line Count
4
Source Line
67
Source File
Closure/closure/goog/locale/formatting.js

/**
 * Formats a given date object according to a predefined
 * date format pattern specified in symbols object.
 * @param {number} formatType Number used to reference predefined pattern.
 * @param {Date} date The date object being formatted.
 * @param {goog.locale.TimeZone=} opt_timeZone optional, if specified, time
 *    related fields will be formatted based on its setting.
 * @return {string} string representation of date/time.
 * @deprecated Use goog.i18n.DateTimeFormat.
 */
goog.locale.standardFormatDateTime=  function (formatType, date, opt_timeZone){
  var formatter=  new goog.locale.DateTimeFormat( );
  formatter.applyStandardPattern(formatType);
  return formatter.format(date, opt_timeZone);
                                                                              } ;


Clone AbstractionParameter Count: 3Parameter Bindings

/**
 * Formats a given date object according to a predefined
 * date format pattern specified in symbols object.
 * @param {number} formatType Number used to reference predefined pattern.
 * @param {Date} date The date object being formatted.
 * @param {goog.locale.TimeZone=} opt_timeZone optional, if specified, time
 *    related fields will be formatted based on its setting.
 * @return {string} string representation of date/time.
 * @deprecated Use goog.i18n.DateTimeFormat.
 */
/**
 * Format the given date object into a string representation using pattern
 * specified.
 * @param {string} pattern Pattern String to specify how the date should
 *     be formatted.
 * @param {Date} date Date object being formatted.
 * @param {goog.locale.TimeZone=} opt_timeZone optional, if specified, time
 *    related fields will be formatted based on its setting.
 *
 * @return {string} string representation of date/time.
 * @deprecated Use goog.i18n.DateTimeFormat.
 */
goog.locale. [[#variable62f27c60]]= function ( [[#variable62f27ba0]],date,opt_timeZone)
                                    { var formatter=new goog.locale.DateTimeFormat( );
                                      formatter. [[#variable62f27b40]]( [[#variable62f27ba0]]);
                                      return formatter.format(date,opt_timeZone);
                                    } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#62f27c60]]
standardFormatDateTime 
12[[#62f27c60]]
formatDateTime 
21[[#62f27ba0]]
formatType 
22[[#62f27ba0]]
pattern 
31[[#62f27b40]]
applyStandardPattern 
32[[#62f27b40]]
applyPattern