Home | History | Annotate | Download | only in format

Lines Matching defs:formatBuffer

133         CharBuffer formatBuffer = CharBuffer.wrap(pattern);
134 while (formatBuffer.remaining() > 0) {
136 char currentChar = formatBuffer.get(formatBuffer.position());
138 outputCurrentChar = handleToken(formatBuffer, wallTime, zoneInfo);
141 outputBuilder.append(formatBuffer.get(formatBuffer.position()));
143 formatBuffer.position(formatBuffer.position() + 1);
147 private boolean handleToken(CharBuffer formatBuffer, ZoneInfo.WallTime wallTime,
150 // The char at formatBuffer.position() is expected to be '%' at this point.
152 while (formatBuffer.remaining() > 1) {
154 formatBuffer.position(formatBuffer.position() + 1);
155 char currentChar = formatBuffer.get(formatBuffer.position());