public class DateRenderer extends Object implements AttributeRenderer
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.Modifier and Type | Field and Description |
---|---|
static Map<String,Integer> |
formatToInt |
Constructor and Description |
---|
DateRenderer() |
Modifier and Type | Method and Description |
---|---|
String |
toString(Object o,
String formatString,
Locale locale) |
Copyright © 2024. All rights reserved.