Constructor and Description |
---|
MillisecondInstantPrinter(org.joda.time.format.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(org.joda.time.format.DateTimeFormatter formatter)
formatter
- the Joda DateTimeFormatter instancepublic java.lang.String print(java.lang.Long instant, java.util.Locale locale)
Printer
Copyright © 2021. All rights reserved.