in java/main/src/main/java/com/epam/deltix/hdtime/Parsers.java [89:99]
static int decimalFixed(final CharSequence from, int ofs, int end) throws ParseException {
if (end > from.length())
throw new ParseException(from.toString(), ofs);
int x = digit(from, ofs++);
for (; ofs < end; ++ofs) {
x = x * 10 + digit(from, ofs);
}
return x;
}