inString | String Date/time that you want to convert.
| ||
currentPattern | String Pattern string that describes the format of inString. For pattern-string notation, see Pattern String Symbols. | ||
newPattern | String Pattern string that describes the format in which you want inString returned. For pattern-string syntax, see Pattern String Symbols. | ||
locale | String Optional. Locale in which the date is to be expressed. For example, if locale is en (for English), the pattern EEE d MMM yyyy will produce Friday 23 August 2002, and the locale of fr (for French) will produce vendredi 23 août 2002. If locale is not specified, Integration Server uses the value of the watt.server.session.locale.ignore server configuration parameter to determine whether the locale is obtained from the session used by the client that invoked the service or if the locale is the locale of Integration Server. | ||
lenient | String Optional. A flag indicating whether Integration Server throws an exception if the inString value does not adhere to the format specified in currentPattern parameter. Set to: true to perform a lenient check. This is the default. In a lenient check, if the format of the date specified in the inString parameter does not match the format specified in the currentPattern parameter, Integration Server interprets and returns the date in the format specified in the currentPattern parameter. If the interpretation is incorrect, the service will return an invalid date. false to perform a strict check. In a strict check, the Integration Server throws an exception if the format of the date specified in the inString parameter does not match the format specified in the currentPattern parameter. |
value | String The date/time given by inString, in the format of newPattern. |