Formats a date-time object to an Appendable
using this formatter.
This outputs the formatted date-time to the specified destination.
Appendable
is a general purpose interface that is implemented by all
key character output classes including StringBuffer
, StringBuilder
,
PrintStream
and Writer
.
Although Appendable
methods throw an IOException
, this method does not.
Instead, any IOException
is wrapped in a runtime exception.
temporal | the temporal object to format, not null | |
appendable | the appendable to format to, not null |
DateTimeException | if an error occurs during formatting |
Diagram: Format