class Language {

    @Override
    public final String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(primaryTag);
        if (!subTag.isEmpty()) {
            sb.append('-').append(subTag);
        }
        return sb.toString();
    }

    public  Language(Locale locale);

}