public final class MillisecondInstantPrinter extends java.lang.Object implements Printer<java.lang.Long>
DateTimeFormatter
.Constructor and Description |
---|
MillisecondInstantPrinter(DateTimeFormatter formatter)
Create a new ReadableInstantPrinter.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
print(java.lang.Long instant,
java.util.Locale locale)
Print the object of type T for display.
|
public MillisecondInstantPrinter(DateTimeFormatter formatter)
formatter
- the Joda DateTimeFormatter instancepublic java.lang.String print(java.lang.Long instant, java.util.Locale locale)
Printer