Top Description Fields Constructors Methods
org.stringtemplate.v4

public Class DateRenderer

extends Object
implements AttributeRenderer<Object>
Class Inheritance
All Implemented Interfaces
org.stringtemplate.v4.AttributeRenderer
Imports
java.text.DateFormat, .SimpleDateFormat, java.util.*

A renderer for Date and Calendar objects. It understands a variety of format names as shown in formatToInt field. By default it assumes "short" format. A prefix of "date:" or "time:" shows only those components of the time object.

Field Summary

Modifier and TypeField and Description
public static final Map<String, Integer>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

formatToIntback to summary
public static final Map<String, Integer> formatToInt

Constructor Detail

DateRendererback to summary
public DateRenderer()

Method Detail

toStringback to summary
public String toString(Object value, String formatString, Locale locale)

Implements org.stringtemplate.v4.AttributeRenderer.toString.

Annotations
@Override