|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.stock.utils.TimestampConverter
public class TimestampConverter
Convertisseu de Timestamp
| Constructor Summary | |
|---|---|
TimestampConverter()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
convert(java.lang.Class type,
java.lang.Object value)
Méthode permettant de convertir une date d'un type à l'autre |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TimestampConverter()
| Method Detail |
|---|
public java.lang.Object convert(java.lang.Class type,
java.lang.Object value)
throws org.apache.commons.beanutils.ConversionException
convert in interface org.apache.commons.beanutils.Convertertype - Type de la date passée en paramètre
Les types suivants peuvent être précisés :
- String - Timestamp - Date -
Calendarvalue - date à convertir en Timestamp
Timestamp ou null en cas d'erreur
org.apache.commons.beanutils.ConversionException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||