Java Locale China Check isChina()

Here you can find the source of isChina()

Description

is China

License

Open Source License

Declaration

public static boolean isChina() 

Method Source Code


//package com.java2s;
//License from project: Open Source License 

import java.util.Locale;

public class Main {
    public static boolean isChina() {
        return Locale.getDefault() == Locale.CHINA;
    }/*from  w  w  w.  ja  va 2s.  c  o  m*/
}