← Back to plugin index

Date-Time From String Value Provider

Description
Parses and provides a date and time value from a string.
Type name
DateAndTimeFromStringValueProvider
Class
com.airlock.iam.common.application.configuration.valueprovider.DateAndTimeFromStringValueProviderConfig
May be used by
Properties
Formats (formats)
Description

The date and time formats used to parse the value provided by String Value Provider.

The format is interpreted as specified in the java.text.SimpleDateFormat documentation.

Each format is tried sequentially, until a format matches. One of the formats must match, else an exception is thrown.

Attributes
String-List
Optional
Default value
[yyyy-MM-dd'T'HH:mm:ssX, yyyy-MM-dd'T'HH:mm:ss.SSSX]
YAML Template (with default values)

type: DateAndTimeFromStringValueProvider
id: DateAndTimeFromStringValueProvider-xxxxxx
displayName: 
comment: 
properties:
  formats: [yyyy-MM-dd'T'HH:mm:ssX, yyyy-MM-dd'T'HH:mm:ss.SSSX]
  stringValueProvider: