public final class ReadablePartialPrinter extends java.lang.Object implements Printer<ReadablePartial>
ReadablePartial instances using a DateTimeFormatter.| Constructor and Description |
|---|
ReadablePartialPrinter(DateTimeFormatter formatter)
Create a new ReadableInstantPrinter.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
print(ReadablePartial partial,
java.util.Locale locale)
Print the object of type T for display.
|
public ReadablePartialPrinter(DateTimeFormatter formatter)
formatter - the Joda DateTimeFormatter instancepublic java.lang.String print(ReadablePartial partial, java.util.Locale locale)
Printerprint in interface Printer<ReadablePartial>partial - the instance to printlocale - the current user locale