Home
last modified time | relevance | path

Searched refs:PadInt (Results 1 – 1 of 1) sorted by relevance

/external/v8/src/
Ddate.js752 function PadInt(n, digits) { class
754 return n < MathPow(10, digits - 1) ? '0' + PadInt(n, digits - 1) : n;
766 year_string = PadInt(year, 4);
769 year_string = "-" + PadInt(-year, 6);
771 year_string = "+" + PadInt(year, 6);
775 '-' + PadInt(this.getUTCMonth() + 1, 2) +
776 '-' + PadInt(this.getUTCDate(), 2) +
777 'T' + PadInt(this.getUTCHours(), 2) +
778 ':' + PadInt(this.getUTCMinutes(), 2) +
779 ':' + PadInt(this.getUTCSeconds(), 2) +
[all …]