Home | History | Annotate | Download | only in sunspider-0.9

Lines Matching refs:format

18 Date.prototype.dateFormat = function(format) {
19 if (Date.formatFunctions[format] == null) {
20 Date.createNewFormat(format);
22 var func = Date.formatFunctions[format];
26 Date.createNewFormat = function(format) {
27 var funcName = "format" + Date.formatFunctions.count++;
28 Date.formatFunctions[format] = funcName;
32 for (var i = 0; i < format.length; ++i) {
33 ch = format.charAt(i);
109 Date.parseDate = function(input, format) {
110 if (Date.parseFunctions[format] == null) {
111 Date.createParser(format);
113 var func = Date.parseFunctions[format];
117 Date.createParser = function(format) {
121 Date.parseFunctions[format] = funcName;
135 for (var i = 0; i < format.length; ++i) {
136 ch = format.charAt(i);