Home
last modified time | relevance | path

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

/external/v8/src/
Ddate.js685 function PadInt(n, digits) { class
687 return n < MathPow(10, digits - 1) ? '0' + PadInt(n, digits - 1) : n;
698 year_string = PadInt(year, 4);
701 year_string = "-" + PadInt(-year, 6);
703 year_string = "+" + PadInt(year, 6);
707 '-' + PadInt(this.getUTCMonth() + 1, 2) +
708 '-' + PadInt(this.getUTCDate(), 2) +
709 'T' + PadInt(this.getUTCHours(), 2) +
710 ':' + PadInt(this.getUTCMinutes(), 2) +
711 ':' + PadInt(this.getUTCSeconds(), 2) +
[all …]