Class DateDataTypeTransformer
java.lang.Object
org.camunda.bpm.dmn.engine.impl.type.DateDataTypeTransformer
- All Implemented Interfaces:
DmnDataTypeTransformer
Transform values of type
Date
and String
into
DateValue
which contains date and time. A String should have the format
yyyy-MM-dd'T'HH:mm:ss
.- Author:
- Philipp Ossler
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionTransform the given value.protected Date
transformString
(String value) protected DmnEngineException
unsupportedType
(Object value)
-
Field Details
-
formatPattern
-
-
Constructor Details
-
DateDataTypeTransformer
public DateDataTypeTransformer()
-
-
Method Details
-
transform
Description copied from interface:DmnDataTypeTransformer
Transform the given value.- Specified by:
transform
in interfaceDmnDataTypeTransformer
- Parameters:
value
- of any type- Returns:
- value of the specific type
- Throws:
IllegalArgumentException
- if the value can not be transformed
-
transformString
-
unsupportedType
-