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