Package com.xwiki.date.macro
Class DateMacroParameters
- java.lang.Object
-
- com.xwiki.date.macro.DateMacroParameters
-
@Unstable public class DateMacroParameters extends Object
- Since:
- 3.0
- Version:
- $Id$
-
-
Constructor Summary
Constructors Constructor Description DateMacroParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetDisplayFormat()StringgetFormat()StringgetValue()voidsetDisplayFormat(String displayFormat)voidsetFormat(String format)Deprecated.voidsetValue(String value)
-
-
-
Method Detail
-
getValue
public String getValue()
- Returns:
- the string representation of the datetype.
-
setValue
public void setValue(String value)
- Parameters:
value- the string representation of the datetype.
-
getFormat
public String getFormat()
- Returns:
- the format that will be used to parse the datetype parameter.
-
setFormat
@Deprecated public void setFormat(String format)
Deprecated.- Parameters:
format- seegetFormat()
-
getDisplayFormat
public String getDisplayFormat()
- Returns:
- the format in which the value parameter will be displayed.
-
setDisplayFormat
public void setDisplayFormat(String displayFormat)
- Parameters:
displayFormat- seegetDisplayFormat()
-
-