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 String |
formatPattern |
| Constructor and Description |
|---|
DateDataTypeTransformer() |
| Modifier and Type | Method and Description |
|---|---|
TypedValue |
transform(Object value)
Transform the given value.
|
protected Date |
transformString(String value) |
protected DmnEngineException |
unsupportedType(Object value) |
protected String formatPattern
public TypedValue transform(Object value) throws IllegalArgumentException
DmnDataTypeTransformertransform in interface DmnDataTypeTransformervalue - of any typeIllegalArgumentException - if the value can not be transformedprotected DmnEngineException unsupportedType(Object value)
Copyright © 2015–2021 camunda services GmbH. All rights reserved.