toPersianMonth method

String toPersianMonth()

Implementation

String toPersianMonth() {
  String month = this;
  month = month.replaceAll("01", "فروردین");
  month = month.replaceAll("02", "اردیبهشت");
  month = month.replaceAll("03", "خرداد");
  month = month.replaceAll("04", "تیر");
  month = month.replaceAll("05", "مرداد");
  month = month.replaceAll("06", "شهریور");
  month = month.replaceAll("07", "مهر");
  month = month.replaceAll("08", "آبان");
  month = month.replaceAll("09", "آذر");
  month = month.replaceAll("10", "دی");
  month = month.replaceAll("11", "بهمن");
  month = month.replaceAll("12", "اسفند");
  return month;
}