public class TLcdSLDFormatDate extends TLcdSLDFunction
Constructor and Description |
---|
TLcdSLDFormatDate()
Default Constructor
|
TLcdSLDFormatDate(TLcdDataType aType)
Default Constructor
|
TLcdSLDFormatDate(TLcdSLDParameterValue aDateValue,
String aPattern)
Creates a new instance and initializes the properties with the given values.
|
Modifier and Type | Method and Description |
---|---|
TLcdSLDParameterValue |
getDateValue()
Returns the value of the property that maps to the
DateValue element. |
String |
getPattern()
Returns the value of the property that maps to the
Pattern element. |
void |
setDateValue(TLcdSLDParameterValue aValue)
Sets the value of the property that maps to the
DateValue element. |
void |
setPattern(String aValue)
Sets the value of the property that maps to the
Pattern element. |
getFallbackValue, setFallbackValue
public TLcdSLDFormatDate()
public TLcdSLDFormatDate(TLcdDataType aType)
public TLcdSLDFormatDate(TLcdSLDParameterValue aDateValue, String aPattern)
public TLcdSLDParameterValue getDateValue()
DateValue
element.
A parameter value that evaluates to something that can be formatted as a date. For XML formats, this
is usually an object of type XMLGregorianCalendar
.
DATE_VALUE_PROPERTY
property.public void setDateValue(TLcdSLDParameterValue aValue)
DateValue
element.
A parameter value that evaluates to something that can be formatted as a date. For XML formats, this
is usually an object of type XMLGregorianCalendar
.
aValue
- the value to set for the DATE_VALUE_PROPERTY
property.public String getPattern()
Pattern
element.PATTERN_PROPERTY
property.public void setPattern(String aValue)
Pattern
element.aValue
- the value to set for the PATTERN_PROPERTY
property.