{infiniteZest}
// Articles. Tutorials. Utilities.
Home  |   Search  |   Login  
Categories Skip Navigation Links
New / All
AJAX
Apple
ASP.NET
.NET
Git
Google / Android
Python / IronPython
Miscellaneous
SQL Server
AJAX Source Viewer
View the source code of a Method from ASP.NET AJAX Library. Choose a method from the menu items above (Namespaces, Classes, or Methods).
Method '_parse(value, cultureInfo, args)'
Method: _parse(value, cultureInfo, args)
Method Full Name:     Date$_parse(value, cultureInfo, args)
Class: Date
Namespace: Global (MicrosoftAjax.debug.js)
Source File: MicrosoftAjax.debug.js
1   Date._parse = function Date$_parse(value, cultureInfo, args) {
2     var custom = false;
3     for (var i = 1, il = args.length; i < il; i++) {
4       var format = args[i];
5       if (format) {
6         custom = true;
7         var date = Date._parseExact(value, format, cultureInfo);
8         if (date) return date;
9       }
10    }
11    if (! custom) {
12      var formats = cultureInfo._getDateTimeFormats();
13      for (var i = 0, il = formats.length; i < il; i++) {
14        var date = Date._parseExact(value, formats[i], cultureInfo);
15        if (date) return date;
16      }
17    }
18    return null;
19  }
This is the JavaScript source for method _parse(value, cultureInfo, args) from ASP.NET AJAX Library. Full name for this method is Date$_parse(value, cultureInfo, args). It belongs to the class Date, which is in Global (MicrosoftAjax.debug.js) namespace. This source is in MicrosoftAjax.debug.js file.
Bookmark and Share This
About  Contact  Privacy Policy  Site Map