Correct way to perform Locale Comparison
<p>Currently, I wish to know which properties file is being loaded in my application.</p>

<pre><code>/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package example0;

import java.util.Locale;

/**
 *
 * @author yccheok
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        //Locale.setDefault(Locale.SIMPLIFIED_CHINESE);     // Bundle_zh_CH.properties will be loaded.
        //Locale.setDefault(Locale.CHINA);                  // Bundle_zh_CH.properties will be loaded.
        //Locale.setDefault(Locale.TRADITIONAL_CHINESE);    // Bundle.properties will be loaded.
        //Locale.setDefault(Locale.CHINESE);                // Bundle.properties will be loaded.

        String Hello = java.util.ResourceBundle.getBundle("example0/Bundle").getString("HELLO");
        System.out.println(Hello);

        System.out.println("Locale.SIMPLIFIED_CHINESE's language : " + Locale.SIMPLIFIED_CHINESE.getLanguage());
        System.out.println("Locale.CHINA's language : " + Locale.CHINA.getLanguage());
        System.out.println("Locale.TRADITIONAL_CHINESE's language : " + Locale.TRADITIONAL_CHINESE.getLanguage());
        System.out.println("Locale.CHINESE's language : " + Locale.CHINESE.getLanguage());

        System.out.println("Locale.SIMPLIFIED_CHINESE's country : " + Locale.SIMPLIFIED_CHINESE.getCountry());
        System.out.println("Locale.CHINA's country : " + Locale.CHINA.getCountry());
        System.out.println("Locale.TRADITIONAL_CHINESE's country : " + Locale.TRADITIONAL_CHINESE.getCountry());
        System.out.println("Locale.CHINESE's country : " + Locale.CHINESE.getCountry());
    }

}
</code></pre>

<p>The following is the output :</p>

<pre><code>Hello
Locale.SIMPLIFIED_CHINESE's language : zh
Locale.CHINA's language : zh
Locale.TRADITIONAL_CHINESE's language : zh
Locale.CHINESE's language : zh
Locale.SIMPLIFIED_CHINESE's country : CN
Locale.CHINA's country : CN
Locale.TRADITIONAL_CHINESE's country : TW
Locale.CHINESE's country : 
</code></pre>

<p>Previously, to determine whether properties file Bundle_zh_CH.properties will be loaded, I am performing the following comparison.</p>

<pre><code>if (Locale.getDefault() == Locale.SIMPLIFIED_CHINESE)
</code></pre>

<p>However, some Locale other than SIMPLIFIED_CHINESE will load Bundle_zh_CH.properties as well.</p>

<p>What is the reliable way for me to do so?</p>

<p>Shall I</p>

<pre><code>if (Locale.getDefault() == Locale.SIMPLIFIED_CHINESE || Locale.getDefault() == Locale.China)
</code></pre>

<p>or</p>

<pre><code>if (Locale.getDefault().equals("CN"))
</code></pre>
