public class SQLDateAccessor extends Object implements PropertyAccessor<Date>
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
log |
| Constructor and Description |
|---|
SQLDateAccessor() |
| Modifier and Type | Method and Description |
|---|---|
Date |
fromBytes(Class targetClass,
byte[] b)
From bytes.
|
Date |
fromString(Class targetClass,
String s)
Converts string representation to the data object whose type is T.
|
Date |
getCopy(Object object)
Gets copy of object
|
Date |
getInstance(Class<?> clazz) |
byte[] |
toBytes(Object object)
To bytes.
|
String |
toString(Object object)
Converts Object to String.
|
public Date fromBytes(Class targetClass, byte[] b)
PropertyAccessorfromBytes in interface PropertyAccessor<Date>b - the bpublic byte[] toBytes(Object object)
PropertyAccessortoBytes in interface PropertyAccessor<Date>object - the objectpublic String toString(Object object)
PropertyAccessortoString in interface PropertyAccessor<Date>object - the objectpublic Date fromString(Class targetClass, String s)
PropertyAccessorfromString in interface PropertyAccessor<Date>s - the spublic Date getCopy(Object object)
PropertyAccessorgetCopy in interface PropertyAccessor<Date>public Date getInstance(Class<?> clazz)
getInstance in interface PropertyAccessor<Date>Copyright © 2015. All Rights Reserved.