getWeekDay function

String getWeekDay(
  1. DateTime dateTime,
  2. String local
)

Implementation

String getWeekDay(DateTime dateTime, String local) {
  DateFormat dateFormat = DateFormat('ZZZ', local);
  return dateFormat.format(dateTime);
}