private static final class DatePatternConverter.FixedFormatter extends DatePatternConverter.Formatter
Modifier and Type | Field and Description |
---|---|
private char[] |
cachedBuffer |
private FixedDateFormat |
fixedDateFormat |
private int |
length |
nanos, previousTime
Constructor and Description |
---|
FixedFormatter(FixedDateFormat fixedDateFormat) |
Modifier and Type | Method and Description |
---|---|
(package private) java.lang.String |
format(Instant instant) |
(package private) void |
formatToBuffer(Instant instant,
java.lang.StringBuilder destination) |
java.lang.String |
toPattern() |
private final FixedDateFormat fixedDateFormat
private final char[] cachedBuffer
private int length
FixedFormatter(FixedDateFormat fixedDateFormat)
java.lang.String format(Instant instant)
format
in class DatePatternConverter.Formatter
void formatToBuffer(Instant instant, java.lang.StringBuilder destination)
formatToBuffer
in class DatePatternConverter.Formatter
public java.lang.String toPattern()
toPattern
in class DatePatternConverter.Formatter