public class BsonEncodingStringToDateTransformer extends Object implements org.bson.Transformer
| Modifier and Type | Field and Description |
|---|---|
static String |
BSON_TRANSFORMER_DEFAULT_DATE_REG_EXP_STR
the default date regular expression
|
static String |
BSON_TRANSFORMER_DEFAULT_DATE_TIME_REG_EXP_STR
the default date time regular expression
|
| Constructor and Description |
|---|
BsonEncodingStringToDateTransformer() |
| Modifier and Type | Method and Description |
|---|---|
void |
setDateFormatString(String dateFormatString) |
void |
setDateRegExp(Pattern dateRegExp) |
void |
setDateTimeFormatString(String dateTimeFormatString) |
void |
setDateTimeRegExp(Pattern dateTimeRegExp) |
String |
toString() |
Object |
transform(Object o) |
public static final String BSON_TRANSFORMER_DEFAULT_DATE_REG_EXP_STR
public static final String BSON_TRANSFORMER_DEFAULT_DATE_TIME_REG_EXP_STR
public Object transform(Object o)
transform in interface org.bson.Transformerpublic void setDateRegExp(Pattern dateRegExp)
public void setDateTimeRegExp(Pattern dateTimeRegExp)
public void setDateFormatString(String dateFormatString)
public void setDateTimeFormatString(String dateTimeFormatString)
Copyright © 2007-2017 Ikasan. All Rights Reserved.