@ SuppressWarnings ( { "squid:SwitchLastCaseIsDefaultCheck" , "squid:S1301" } ) public Locale getLand ( ) { String country = this . getUnformatted ( ) . substring ( 0 , 2 ) ; String language = country . toLowerCase ( ) ; switch ( country ) { case "AT" : case "CH" : language = "de" ; break ; } return new Locale ( language , country ) ; }
Liefert das Land zu dem die IBAN gehoert .