code: public static String parseToString(final Date date, final String format)
  	{
  		return parseToString(date, format, Locale.getDefault(Locale.Category.FORMAT));
  	}
docs: The Method parseToString(Date, String) formats the given Date to the given Format. For
  Example: Date date =new Date(System.currentTimeMillis()); String format = "dd.MM.yyyy
  HH:mm:ss"; String now = UtilDate.parseToString(date, format); System.out.println(now); The
  output would be something like this:'15.07.2005 14:12:00'
  
  @param date
  The Date to format to a String
  @param format
  The Format for the date
  @return The formated String