Class DateFormatChartParam
- java.lang.Object
-
- com.xpn.xwiki.plugin.charts.params.AbstractChartParam
-
- com.xpn.xwiki.plugin.charts.params.LocaleChartParam
-
- com.xpn.xwiki.plugin.charts.params.DateFormatChartParam
-
- All Implemented Interfaces:
ChartParam
- Direct Known Subclasses:
DateChartParam
,DateTickUnitChartParam
public class DateFormatChartParam extends LocaleChartParam
-
-
Field Summary
Fields Modifier and Type Field Description static String
CUSTOM
static String
DATE
static String
DATE_STYLE
static String
DATETIME
static String
FULL
static String
LONG
static String
MEDIUM
static String
PATTERN
static String
SHORT
static String
TIME
static String
TIME_STYLE
static String
TYPE
-
Fields inherited from class com.xpn.xwiki.plugin.charts.params.LocaleChartParam
COUNTRY, LANGUAGE, VARIANT
-
Fields inherited from class com.xpn.xwiki.plugin.charts.params.AbstractChartParam
LIST_SEPARATOR, MAP_ASSIGNMENT, MAP_SEPARATOR, name, optional
-
-
Constructor Summary
Constructors Constructor Description DateFormatChartParam(String name)
DateFormatChartParam(String name, boolean optional)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
convert(String value)
Class
getType()
void
init()
-
Methods inherited from class com.xpn.xwiki.plugin.charts.params.AbstractChartParam
equals, getChoiceArg, getDoubleArg, getFloatArg, getIntArg, getListArg, getName, getStringArg, getStringOptionalArg, hashCode, isOptional, parseList, parseMap, parseMap, toFloatArray, toFloatList, toString
-
-
-
-
Field Detail
-
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
-
DATE
public static final String DATE
- See Also:
- Constant Field Values
-
TIME
public static final String TIME
- See Also:
- Constant Field Values
-
DATETIME
public static final String DATETIME
- See Also:
- Constant Field Values
-
CUSTOM
public static final String CUSTOM
- See Also:
- Constant Field Values
-
DATE_STYLE
public static final String DATE_STYLE
- See Also:
- Constant Field Values
-
TIME_STYLE
public static final String TIME_STYLE
- See Also:
- Constant Field Values
-
SHORT
public static final String SHORT
- See Also:
- Constant Field Values
-
MEDIUM
public static final String MEDIUM
- See Also:
- Constant Field Values
-
LONG
public static final String LONG
- See Also:
- Constant Field Values
-
FULL
public static final String FULL
- See Also:
- Constant Field Values
-
PATTERN
public static final String PATTERN
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
public void init()
-
getType
public Class getType()
- Specified by:
getType
in interfaceChartParam
- Overrides:
getType
in classLocaleChartParam
-
convert
public Object convert(String value) throws ParamException
- Specified by:
convert
in interfaceChartParam
- Overrides:
convert
in classLocaleChartParam
- Throws:
ParamException
-
-