code: static String defaultPattern(Locale locale) {
          return ((SimpleDateFormat) DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.MEDIUM, locale)).toPattern().replace("ss", "ss.SSS");
      }
docs: This method returns the default pattern modified to add millisecond
  after the seconds.
  
  @param locale a locale
  @return a pattern string