public static string GetNotificationTitle(QuranAyah minVerse, QuranAyah maxVerse) { int minSura = minVerse.Surah; int maxSura = maxVerse.Surah; int maxAyah = maxVerse.Ayah; if (maxAyah == 0) { maxSura--; maxAyah = QuranUtils.GetSurahNumberOfAyah(maxSura); } string notificationTitle = QuranUtils.GetSurahName(minSura, true); if (minSura == maxSura) { if (minVerse.Ayah == maxAyah) { notificationTitle += " (" + maxAyah + ")"; } else { notificationTitle += " (" + minVerse.Ayah + "-" + maxAyah + ")"; } } else { notificationTitle += " (" + minVerse.Ayah + ") - " + QuranUtils.GetSurahName(maxSura, true) + " (" + maxAyah + ")"; } return(notificationTitle); }