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