private static class FormatterProvider.Iso8601Formatter extends AbstractFormatter<Object>
Modifier and Type | Field and Description |
---|---|
private Iso8601Util |
iso8601Util
Is the
Iso8601Util . |
private Locale |
locale
The
Locale to use. |
private String |
type
The
type . |
Constructor and Description |
---|
Iso8601Formatter(Locale locale,
Iso8601Util iso8601Util,
String type)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
private Calendar |
convertObject(Object object) |
protected void |
doFormat(Object value,
Appendable buffer) |
format, format, formatNull
private final Iso8601Util iso8601Util
Iso8601Util
.public Iso8601Formatter(Locale locale, Iso8601Util iso8601Util, String type)
locale
- is the Locale
to use.iso8601Util
- is the Iso8601Util
.type
- is the type
.protected void doFormat(Object value, Appendable buffer) throws IOException
doFormat
in class AbstractFormatter<Object>
value
- is the value to format (not null
).buffer
- is the Appendable
to append
the formatted value to.IOException
- if caused by append
.AbstractFormatter.format(Object, Appendable)
Copyright © 2001–2016 mmm-Team. All rights reserved.