public final class

ReadablePartialPrinter

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

Class Overview

Prints JodaTime ReadablePartial instances using a DateTimeFormatter.

Summary

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

Public Constructors

public ReadablePartialPrinter (DateTimeFormatter formatter)

Create a new ReadableInstantPrinter.

Parameters
formatter the Joda DateTimeFormatter instance

Public Methods

public String print (ReadablePartial partial, Locale locale)