getFormattedEnglishMonth function

String getFormattedEnglishMonth(
  1. int mnth
)

Implementation

String getFormattedEnglishMonth(int mnth) {
  switch (mnth) {
    case DateTime.january:
      return "Jan";
    case DateTime.february:
      return "Feb";
    case DateTime.march:
      return "Mar";
    case DateTime.april:
      return "April";
    case DateTime.june:
      return "Jun";
    case DateTime.july:
      return "Jul";
    case DateTime.august:
      return "Aug";
    case DateTime.september:
      return "Sep";
    case DateTime.october:
      return "Oct";
    case DateTime.november:
      return "Nov";
    case DateTime.december:
      return "Dec";
    default:
      return "Jan";
  }
}