Cannot fix date and month method - Android Studio : I have been fiddling around with this method that I created and cannot manage get it to work. I either get string cannot be converted to int or require return, but then I cannot enter the monthString variable in the return statement as it is out of scope and cannot find the variable.
       
    mDateSetListener = new DatePickerDialog.OnDateSetListener() {
            @Override
            public void onDateSet(DatePicker datePicker, int year, int month, int day) {
                month = month + 1;
                Log.w(TAG, "Date of Birth: " + day + "/" + month + "/" + year);

                String date = day + "/" + month + "/" + year;
                mDisplayDate.setText(date);
                Toast.makeText(ProfileSettings.this, date, Toast.LENGTH_LONG).show();
                ordinal(day, month, year);
            }


            String ordinal(int day, int month, int year) {
                String[] day1 = new String[]{"th", "st", "nd", "rd", "th", "th", "th", "th", "th", "th"};
                switch (day % 100) {
                    case 11:
                    case 12:
                    case 13:
                        Log.w(TAG, day + "th");

                        String monthString;
                        switch (month) {
                            case 1:  monthString = "January";
                                break;
                            case 2:  monthString = "February";
                                break;
                            case 3:  monthString = "March";
                                break;
                            case 4:  monthString = "April";
                                break;
                            case 5:  monthString = "May";
                                break;
                            case 6:  monthString = "June";
                                break;
                            case 7:  monthString = "July";
                                break;
                            case 8:  monthString = "August";
                                break;
                            case 9:  monthString = "September";
                                break;
                            case 10: monthString = "October";
                                break;
                            case 11: monthString = "November";
                                break;
                            case 12: monthString = "December";
                                break;


                                Log.w(TAG, day + "" + day1[day % 10] + " " + monthString + " " + year);






                return day + monthString;
            }



        }
                return day + monthString;

            }


At the moment I am getting cannot resolve symbol monthString in the last return statement at the bottom

Thanks