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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionTransform the given value.protected DatetransformString(String value) protected DmnEngineExceptionunsupportedType(Object value)
-
Field Details
-
formatPattern
-
-
Constructor Details
-
DateDataTypeTransformer
public DateDataTypeTransformer()
-
-
Method Details
-
transform
Description copied from interface:DmnDataTypeTransformerTransform the given value.- Specified by:
transformin interfaceDmnDataTypeTransformer- Parameters:
value- of any type- Returns:
- value of the specific type
- Throws:
IllegalArgumentException- if the value can not be transformed
-
transformString
-
unsupportedType
-