|
Spring Framework | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.format.datetime.joda.MillisecondInstantPrinter
public final class MillisecondInstantPrinter
Prints Long instances using a DateTimeFormatter.
| Constructor Summary | |
|---|---|
MillisecondInstantPrinter(org.joda.time.format.DateTimeFormatter formatter)
Create a new ReadableInstantPrinter. |
|
| Method Summary | |
|---|---|
java.lang.String |
print(java.lang.Long instant,
java.util.Locale locale)
Print the object of type T for display. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MillisecondInstantPrinter(org.joda.time.format.DateTimeFormatter formatter)
formatter - the Joda DateTimeFormatter instance| Method Detail |
|---|
public java.lang.String print(java.lang.Long instant,
java.util.Locale locale)
Printer
print in interface Printer<java.lang.Long>instant - the instance to printlocale - the current user locale
|
Spring Framework | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||