for (int i = 0; i < counterValues.length; i++) {
// TODO later support non-decimal list styles
int counterValue = counterValues[i];
CounterFormatter formatter = formatterSelector.selectFormatter(
formatStyle, counterValue);
String value = formatter.formatAsString(formatStyle, counterValue);
valuesString.append(value);
if (i < (counterValues.length - 1)) {
valuesString.append(separator);
}
}