package info.kuechler.bmf.taxapi;

public class TaxApiFactory {
    protected static final String CODE = "Lohn2020";

    public static String getUrl(final int month, final int year) {
        return "https://www.bmf-steuerrechner.de/interface/" + getYearKey(month, year) + ".xhtml?code=" + CODE;
    }

    protected static String getYearKey(final int month, final int year) {
        if (year < 2006 || month > 12 || month < 0) {
            throw new IllegalArgumentException("Month have to be between 0 and 12, year >= 2006");
        }
        final String middle;
        switch (year) {
        case 2011:
        case 2015: {
            if (month == 12 || month == 0) {
                middle = "Dez";
            } else {
                middle = "bisNov";
            }
            break;
        }
        default:
            middle = "";
        }

        return Integer.toString(year) + middle + "Version1";
    }

    private TaxApiFactory() {
        // nothing
    }
}

@@ -843,16 +843,18 @@
 default:
+ %7B
 %0D%0A      
@@ -869,24 +869,55 @@
 ddle = %22%22;%0D%0A
+            break;%0D%0A        %7D%0D%0A
         %7D%0D%0A%0D

Update TaxApiFactory.java