public class DateDataTypeTransformer extends Object implements DmnDataTypeTransformer
Date
and String
into
DateValue
which contains date and time. A String should have the format
yyyy-MM-dd'T'HH:mm:ss
.Modifier and Type | Field and Description |
---|---|
protected SimpleDateFormat |
format |
Constructor and Description |
---|
DateDataTypeTransformer() |
Modifier and Type | Method and Description |
---|---|
org.camunda.bpm.engine.variable.value.TypedValue |
transform(Object value)
Transform the given value.
|
protected Date |
transformString(String value) |
protected SimpleDateFormat format
public org.camunda.bpm.engine.variable.value.TypedValue transform(Object value) throws IllegalArgumentException
DmnDataTypeTransformer
transform
in interface DmnDataTypeTransformer
value
- of any typeIllegalArgumentException
- if the value can not be transformedCopyright © 2017. All rights reserved.