CloneSet409


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

/**
 * Parse a string using the format as specified in pattern string, and
 * return date in the passed "date" parameter.
 *
 * @param {string} pattern specifies how the date should be formatted.
 * @param {string} text The string that need to be parsed.
 * @param {number} start The character position in "text" where parse begins.
 * @param {Date} date The date object that will hold parsed value.
 *
 * @return {number} The number of characters advanced or 0 if failed.
 * @deprecated Use goog.i18n.DateTimeParse.
 */
goog.locale.parseDateTime=  function (pattern, text, start, date){
  var parser=  new goog.locale.DateTimeParse( );
  parser.applyPattern(pattern);
  return parser.parse(text, start, date);
                                                                 } ;


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

/**
 * Parse a string using the format as specified in pattern string, and
 * return date in the passed "date" parameter.
 *
 * @param {string} pattern specifies how the date should be formatted.
 * @param {string} text The string that need to be parsed.
 * @param {number} start The character position in "text" where parse begins.
 * @param {Date} date used to hold the parsed value.
 *
 * @return {number} The number of characters advanced or 0 if failed.
 * @deprecated Use goog.i18n.DateTimeParse.
 */
goog.locale.strictParseDateTime=  function (pattern, text, start, date){
  var parser=  new goog.locale.DateTimeParse( );
  parser.applyPattern(pattern);
  return parser.strictParse(text, start, date);
                                                                       } ;


Clone Instance
3
Line Count
4
Source Line
156
Source File
Closure/closure/goog/locale/formatting.js

/**
 * Parse a string using a predefined date/time pattern.
 *
 * @param {number} formatType identifies a predefined pattern stored in
 *     locale specific repository.
 * @param {string} text The string that needs to be parsed.
 * @param {number} start parse start position in "text".
 * @param {Date} date used to hold the parsed value.
 *
 * @return {number} The number of characters advanced or 0 if failed.
 * @deprecated Use goog.i18n.DateTimeParse.
 */
goog.locale.standardParseDateTime=  function (formatType, text, start, date){
  var parser=  new goog.locale.DateTimeParse( );
  parser.applyStandardPattern(formatType);
  return parser.parse(text, start, date);
                                                                            } ;


Clone AbstractionParameter Count: 4Parameter Bindings

/**
 * Parse a string using a predefined date/time pattern.
 *
 * @param {number} formatType identifies a predefined pattern stored in
 *     locale specific repository.
 * @param {string} text The string that needs to be parsed.
 * @param {number} start parse start position in "text".
 * @param {Date} date used to hold the parsed value.
 *
 * @return {number} The number of characters advanced or 0 if failed.
 * @deprecated Use goog.i18n.DateTimeParse.
 */
/**
 * Parse a string using the format as specified in pattern string, and
 * return date in the passed "date" parameter.
 *
 * @param {string} pattern specifies how the date should be formatted.
 * @param {string} text The string that need to be parsed.
 * @param {number} start The character position in "text" where parse begins.
 * @param {Date} date used to hold the parsed value.
 *
 * @return {number} The number of characters advanced or 0 if failed.
 * @deprecated Use goog.i18n.DateTimeParse.
 */
/**
 * Parse a string using the format as specified in pattern string, and
 * return date in the passed "date" parameter.
 *
 * @param {string} pattern specifies how the date should be formatted.
 * @param {string} text The string that need to be parsed.
 * @param {number} start The character position in "text" where parse begins.
 * @param {Date} date The date object that will hold parsed value.
 *
 * @return {number} The number of characters advanced or 0 if failed.
 * @deprecated Use goog.i18n.DateTimeParse.
 */
goog.locale. [[#variable571e8580]]= function ( [[#variable571e8520]],text,start,date)
                                    { var parser=new goog.locale.DateTimeParse( );
                                      parser. [[#variable571e84c0]]( [[#variable571e8520]]);
                                      return parser. [[#variable571e8460]](text,start,date);
                                    } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#571e8580]]
standardParseDateTime 
12[[#571e8580]]
strictParseDateTime 
13[[#571e8580]]
parseDateTime 
21[[#571e8520]]
formatType 
22[[#571e8520]]
pattern 
23[[#571e8520]]
pattern 
31[[#571e84c0]]
applyStandardPattern 
32[[#571e84c0]]
applyPattern 
33[[#571e84c0]]
applyPattern 
41[[#571e8460]]
parse 
42[[#571e8460]]
strictParse 
43[[#571e8460]]
parse