Home | History | Annotate | Download | only in i18n

Lines Matching full:grouping

928     // Per the spec, exponent grouping happens if maxIntDigitCount is more
934 // For exponent grouping minIntDigits is always treated as 1 even
1317 getMinimumLengthToDescribeGrouping(const DigitGrouping &grouping) {
1318 if (grouping.fGrouping <= 0) {
1321 if (grouping.fGrouping2 <= 0) {
1322 return grouping.fGrouping + 1;
1324 return grouping.fGrouping + grouping.fGrouping2 + 1;
1328 * Given a grouping policy, calculates how many digits are needed left of
1331 * @param grouping the grouping policy
1341 const DigitGrouping &grouping,
1346 int32_t lengthSoFar = leftDigits + grouping.getSeparatorCount(leftDigits);
1348 lengthSoFar += grouping.isSeparatorAt(leftDigits + 1, leftDigits) ? 2 : 1;
1374 // Get a grouping policy like the one in this object that does not
1375 // have minimum grouping since toPattern doesn't support it.
1376 DigitGrouping grouping(fEffGrouping);
1377 grouping.fMinGrouping = 0;
1431 // We have to include enough digits to show grouping strategy
1433 getMinimumLengthToDescribeGrouping(grouping);
1436 getMinimumLengthToDescribeGrouping(grouping) - 1);
1450 // Because of grouping, we may need fewer than expected digits to
1454 grouping,
1465 // grouping sepearator e.g ,###,### so add a '#' and use one
1494 if (grouping.isSeparatorAt(i + 1, i)) {