Constructor and Description |
---|
ReadableInstantPrinter(org.joda.time.format.DateTimeFormatter formatter)
Create a new ReadableInstantPrinter.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
print(org.joda.time.ReadableInstant instant,
java.util.Locale locale)
Print the object of type T for display.
|
public ReadableInstantPrinter(org.joda.time.format.DateTimeFormatter formatter)
formatter
- the Joda DateTimeFormatter instancepublic java.lang.String print(org.joda.time.ReadableInstant instant, java.util.Locale locale)
Printer
Copyright © 2021. All rights reserved.