src/main/java/com/teamunify/i18n/I.java
public static String dateToString(Date d, int style) {
    if (isNullDate(d))
      return "";
    LanguageSetting s = languageProvider.vend();
    DateFormat formatter = dateFormatVendor.getFormatFor(style, s.locale, DateFormat.SHORT);
    return formatter.format(d);
  }
/**
   * Convert a date to the specified style.
   *
   * @param d     The date to format
   * @param style One of DateFormat formats (e.g. SHORT/LONG/MEDIUM)
   * @return the locale-corrected string version of the date.
   */
Convert a date to the specified style.
@param d     The date to format
@param style One of DateFormat formats
@return the locale-corrected string version of the date.
Convert a date to the specified style . @param d The date to format @param style One of DateFormat formats @return the locale - corrected string version of the date .
public static String dateToString(Date d, int style) {
    if (isNullDate(d))
      return "";
    LanguageSetting s = languageProvider.vend();
    DateFormat formatter = dateFormatVendor.getFormatFor(style, s.locale, DateFormat.SHORT);
    return formatter.format(d);
  }
public static String dateToString ( Date d , int style ) { if ( isNullDate ( d ) ) return "" ; LanguageSetting s = languageProvider . vend ( ) ; DateFormat formatter = dateFormatVendor . getFormatFor ( style , s . locale , DateFormat . SHORT ) ; return formatter . format ( d ) ; }
Convert a date to the specified style.
Convert a date to the specified style .