public class IntDate extends Object implements ParameterizedType, Serializable
| Constructor and Description |
|---|
IntDate() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
fromDate(Date value)
Conversion from Date to int
|
Date |
fromInt(int value)
Conversion from int to Date
|
String |
getDateFormat() |
SimpleDateFormat |
getDateFormatter() |
Date |
getDefaultValue() |
void |
setDateFormat(String dateFormat) |
void |
setDateFormatter(SimpleDateFormat dateFormatter) |
void |
setDefaultValue(Date defaultValue) |
void |
setParameterValues(Properties parameters)
Gets called to pass the configured type parameters to the implementation.
|
public void setParameterValues(Properties parameters)
ParameterizedTypesetParameterValues in interface ParameterizedTypeparameters - (missing javadoc)public Date fromInt(int value)
value - (missing javadoc)public Integer fromDate(Date value)
value - (missing javadoc)public String getDateFormat()
public void setDateFormat(String dateFormat)
dateFormat - the dateFormat to setpublic SimpleDateFormat getDateFormatter()
public void setDateFormatter(SimpleDateFormat dateFormatter)
dateFormatter - the dateFormatter to setpublic Date getDefaultValue()
public void setDefaultValue(Date defaultValue)
defaultValue - the defaultValue to setCopyright © 2006–2017 Esito AS. All rights reserved.