public final class

ReadableInstantPrinter

extends Object
implements Printer<T>
java.lang.Object
   ↳ org.springframework.format.datetime.joda.ReadableInstantPrinter

Class Overview

Prints JodaTime ReadableInstant instances using a DateTimeFormatter.

Summary

Public Constructors
ReadableInstantPrinter(DateTimeFormatter formatter)
Create a new ReadableInstantPrinter.
Public Methods
String print(ReadableInstant instant, Locale locale)
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.springframework.format.Printer

Public Constructors

public ReadableInstantPrinter (DateTimeFormatter formatter)

Create a new ReadableInstantPrinter.

Parameters
formatter the Joda DateTimeFormatter instance

Public Methods

public String print (ReadableInstant instant, Locale locale)