code: private List<String> generateDateTimePatterns(String datePattern, String[] timePatterns)
     {
        List<String> patterns = new ArrayList<String>();
        for (String timePattern : timePatterns)
        {
           patterns.add(datePattern + " " + timePattern);
        }
  
        // Always fall back on the date-only pattern
        patterns.add(datePattern);
  
        return patterns;
     }
docs: Generate a set of datetime patterns to accommodate variations in MPX files.
  
  @param datePattern date pattern element
  @param timePatterns time patterns
  @return datetime patterns