15 references to MaxSecondsFractionDigits
System.Private.CoreLib (15)
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeFormat.cs (2)
485
if (tokenLen <=
MaxSecondsFractionDigits
)
488
fraction /= TimeSpanParse.Pow10UpToMaxFractionDigits(
MaxSecondsFractionDigits
- tokenLen);
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeParse.cs (2)
3166
Debug.Assert(maxDigitLen <= DateTimeFormat.
MaxSecondsFractionDigits
);
4221
if (tokenLen <= DateTimeFormat.
MaxSecondsFractionDigits
)
src\libraries\System.Private.CoreLib\src\System\Globalization\TimeSpanFormat.cs (9)
153
fractionDigits = DateTimeFormat.
MaxSecondsFractionDigits
;
160
fractionDigits = DateTimeFormat.
MaxSecondsFractionDigits
;
170
fractionDigits = DateTimeFormat.
MaxSecondsFractionDigits
- FormattingHelpers.CountDecimalTrailingZeros(fraction, out fraction);
353
if (tokenLen > DateTimeFormat.
MaxSecondsFractionDigits
)
359
tmp /= TimeSpanParse.Pow10UpToMaxFractionDigits(DateTimeFormat.
MaxSecondsFractionDigits
- tokenLen);
367
if (tokenLen > DateTimeFormat.
MaxSecondsFractionDigits
)
373
tmp /= TimeSpanParse.Pow10UpToMaxFractionDigits(DateTimeFormat.
MaxSecondsFractionDigits
- tokenLen);
491
x.ff = DateTimeFormat.
MaxSecondsFractionDigits
;
612
ff = DateTimeFormat.
MaxSecondsFractionDigits
;
src\libraries\System.Private.CoreLib\src\System\Globalization\TimeSpanParse.cs (2)
1304
if (tokenLen > DateTimeFormat.
MaxSecondsFractionDigits
|| seenFF || !ParseExactDigits(ref tokenizer, tokenLen, tokenLen, out leadingZeroes, out ff))
1313
if (tokenLen > DateTimeFormat.
MaxSecondsFractionDigits
|| seenFF)