package islam.adhanalarm;

import net.sourceforge.jitl.Method;
import net.sourceforge.jitl.Rounding;
import uz.efir.muazzin.R;

/**
 * TODO: delete this class
 */
public class CONSTANT {
    public static final String[][] CALCULATION_METHOD_COUNTRY_CODES = new String[][]{

        /** METHOD_EGYPT_SURVEY:    Africa, Syria, Iraq, Lebanon, Malaysia, Parts of the USA **/
        new String[]{
                // Africa
                "AGO", "BDI", "BEN", "BFA", "BWA", "CAF", "CIV", "CMR", "COG", "COM", "CPV", "DJI", "DZA", "EGY", "ERI", "ESH", "ETH", "GAB", "GHA", "GIN", "GMB", "GNB", "GNQ", "KEN", "LBR", "LBY", "LSO", "MAR", "MDG", "MLI", "MOZ", "MRT", "MUS", "MWI", "MYT", "NAM", "NER", "NGA", "REU", "RWA", "SDN", "SEN", "SLE", "SOM", "STP", "SWZ", "SYC", "TCD", "TGO", "TUN", "TZA", "UGA", "ZAF", "ZAR", "ZWB", "ZWE",
                // Syria, Iraq, Lebanon, Malaysia
                "IRQ", "LBN", "MYS", "SYR"
        },

        /** METHOD_KARACHI_SHAF:        ____ **/
        new String[]{},

        /** METHOD_KARACHI_HANAF:   Pakistan, Bangladesh, India, Afghanistan, Parts of Europe **/
        new String[]{"AFG", "BGD", "IND", "PAK"},

        /** METHOD_NORTH_AMERICA:   Parts of the USA, Canada, Parts of the UK **/
        new String[]{"USA", "CAN"},

        /** METHOD_MUSLIM_LEAGUE:   Europe, The Far East, Parts of the USA **/
        new String[]{
                // Europe
                "AND", "AUT", "BEL", "DNK", "FIN", "FRA", "DEU", "GIB", "IRL", "ITA", "LIE", "LUX", "MCO", "NLD", "NOR", "PRT", "SMR", "ESP", "SWE", "CHE", "GBR", "VAT",
                // Far East
                "CHN", "JPN", "KOR", "PRK", "TWN"
        },

        /** METHOD_UMM_ALQURRA:     The Arabian Peninsula **/
        new String[]{"BHR", "KWT", "OMN", "QAT", "SAU", "YEM"},

        /** METHOD_FIXED_ISHAA:     ___ **/
        new String[]{}

    };
    public static final Method[] CALCULATION_METHODS = new Method[]{Method.EGYPT_SURVEY, Method.KARACHI_SHAF, Method.KARACHI_HANAF, Method.NORTH_AMERICA, Method.MUSLIM_LEAGUE, Method.UMM_ALQURRA, Method.FIXED_ISHAA};
    public static final short DEFAULT_CALCULATION_METHOD = 4; // MUSLIM_LEAGUE

    public static final short FAJR = 0, SUNRISE = 1, DHUHR = 2, ASR = 3, MAGHRIB = 4, ISHAA = 5, NEXT_FAJR = 6; // Notification Times
    public static int[] TIME_NAMES = new int[]{R.string.fajr, R.string.sunrise, R.string.dhuhr, R.string.asr, R.string.maghrib, R.string.ishaa, R.string.next_fajr};

    public static final short NOTIFICATION_NONE = 0, NOTIFICATION_DEFAULT = 1, NOTIFICATION_PLAY = 2, NOTIFICATION_CUSTOM = 3; // Notification Methods

    public static final Rounding[] ROUNDING_METHODS = new Rounding[]{Rounding.NONE, Rounding.NORMAL, Rounding.SPECIAL, Rounding.AGRESSIVE};
    public static final short DEFAULT_ROUNDING_INDEX = 2; // Special

    public static final String EXTRA_ACTUAL_TIME = "extra_actual_time";
    public static final String EXTRA_TIME_INDEX = "extra_time_index";

    private CONSTANT() {
        // Private constructor to enforce un-instantiability.
    }
}

@@ -2136,27 +2136,25 @@
 D = 
-4
+5
 ; // 
-MUSLIM_LEAGUE
+UMM_ALQURRA
 %0A%0A  

Set default calculation method to Umm Al-Qurra