Date-Time From String Value Provider
Description
Parses and provides a date and time value from a string.
May be used by
Properties
String Value Provider (
stringValueProvider) Description
The string to convert to a date.
Examples of strings supported by the default formats:
- 2011-12-03T10:15:30+01:00
- 2011-12-03T10:15:30+0100
- 2011-12-03T10:15:30+01
- 2011-12-03T10:15:30.000+01:00
- 2011-12-03T10:15:30.000+0100
- 2011-12-03T10:15:30.000+01
- 2011-12-03T10:15:30Z
- 2011-12-03T10:15:30.000Z
Attributes
Plugin-Link
Mandatory
Assignable plugins
Changed Email Address Provider Display Language String Provider Fallback String Value Provider Generic Session Attribute String Provider HTTP Request Cookie Value Provider HTTP Request Header Value Provider Identity Value Provider OAuth 2.0/OIDC Authorization Request Parameter Value Provider OAuth2 Access Token String Value Provider Realm String Provider Static String Value Provider String Context Data Value Provider String From Map Value Provider Template-based String Provider Ticket String Provider Transforming String Value Provider Translated String Provider User Principal Name Provider mTAN Registration Label Provider mTAN Registration Number Provider
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: