static String getDayOfWeek(Calendar calendar) {
        //напишите тут ваш код
        String result = "";
        int day = birthDate.get(Calendar.DAY_OF_WEEK);
        switch (day) {
            case 1:
                result = "воскресенье";
            case 2:
                result = "понедельник";
            case 3:
                result = "вторник";
            case 4:
                result = "среда";
            case 5:
                result = "четверг";
            case 6:
                result = "пятница";
            case 7:
                result = "суббота";
        }

        return result;
    }