Trading Networks 10.7 | Administering and Monitoring B2B Transactions | Trading Networks Built-In Services Reference | Util Folder | Summary of Elements in this Folder | wm.tn.util:stringListToDateList
 
wm.tn.util:stringListToDateList
Converts a list of java.lang.String objects to a list of java.util. Date objects, using the specified date pattern.
Input Parameters
list
String List A list of Strings you want to convert to java.util.Date objects.
pattern
String The date formatting pattern to use when converting the Strings.
Output Parameters
value
Object List The converted list of Date values.
Usage Notes
This service uses the java.text.SimpleDateFormat.parse method. If any String in the input variable list is unparsable using the date format supplied in the input variable pattern, this service will not throw an exception. Instead the service places a null value in the corresponding element in the output variable value. See the javadocs for java.text.SimpleDateFormat for a description of the pattern variable.