private double[] adjustTimes(double[] times) {
        for (int i = 0; i < times.length; i++) {
            times[i] += this.getTimeZone() - this.getLng() / 15;
        }

        times[2] += this.getDhuhrMinutes() / 60; // Dhuhr
        if (methodParams.get(this.getCalcMethod().getId())[1] == 1) // Maghrib
        {
            times[5] = times[4] + methodParams.get(this.getCalcMethod().getId())[2]/ 60;
        }
        if (methodParams.get(this.getCalcMethod().getId())[3] == 1) // Isha
        {
            times[6] = times[5] + methodParams.get(this.getCalcMethod().getId())[4]/ 60;
        }

        if (this.getAdjustHighLats() != this.None) {
            times = adjustHighLatTimes(times);
        }

        return times;
    }