src/main/java/com/teamunify/i18n/I.java
public static String dayOfWeek(Date day, boolean abbreviated) {
    final Locale l = languageProvider.vend().locale;
    final SimpleDateFormat fmt;

    if (abbreviated)
      fmt = new SimpleDateFormat("EEE", l);
    else
      fmt = new SimpleDateFormat("EEEE", l);

    return fmt.format(day).toString();
  }
/**
   * A function for converting a date to a localized name of the weekday that date lands on.
   *
   * @param day         The day of the week, as returned from Calendar
   * @param abbreviated Should the day name be abbreviated or not?
   */
A function for converting a date to a localized name of the weekday that date lands on.
A function for converting a date to a localized name of the weekday that date lands on .
public static String dayOfWeek(Date day, boolean abbreviated) {
    final Locale l = languageProvider.vend().locale;
    final SimpleDateFormat fmt;
    if (abbreviated)
      fmt = new SimpleDateFormat("EEE", l);
    else
      fmt = new SimpleDateFormat("EEEE", l);
    return fmt.format(day).toString();
  }
public static String dayOfWeek ( Date day , boolean abbreviated ) { final Locale l = languageProvider . vend ( ) . locale ; final SimpleDateFormat fmt ; if ( abbreviated ) fmt = new SimpleDateFormat ( "EEE" , l ) ; else fmt = new SimpleDateFormat ( "EEEE" , l ) ; return fmt . format ( day ) . toString ( ) ; }
A function for converting a date to a localized name of the weekday that date lands on.
A function for converting a date to a localized name of the weekday that date lands on .