code: public static String time2String(java.sql.Timestamp time, Locale locale) {
          DateFormat df = DateFormat.getDateTimeInstance(dateStyle, timeStyle, locale);
          return df.format(time);
      }
docs: Turn a Timestamp into a string using the specified locale.