13 references to FormatDigits
System.Private.CoreLib (13)
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeFormat.cs (9)
464FormatDigits(ref result, hour12, Math.Min(tokenLen, 2)); 469FormatDigits(ref result, dateTime.Hour, Math.Min(tokenLen, 2)); 474FormatDigits(ref result, dateTime.Minute, Math.Min(tokenLen, 2)); 479FormatDigits(ref result, dateTime.Second, Math.Min(tokenLen, 2)); 562FormatDigits(ref result, day, tokenLen); 589FormatDigits(ref result, month, tokenLen); 638FormatDigits(ref result, year, Math.Min(tokenLen, 2)); 648FormatDigits(ref result, year % 100, tokenLen); 652FormatDigits(ref result, year, tokenLen);
src\libraries\System.Private.CoreLib\src\System\Globalization\TimeSpanFormat.cs (4)
330DateTimeFormat.FormatDigits(ref result, hours, tokenLen); 338DateTimeFormat.FormatDigits(ref result, minutes, tokenLen); 346DateTimeFormat.FormatDigits(ref result, seconds, tokenLen); 403DateTimeFormat.FormatDigits(ref result, day, tokenLen);