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