Android Utililty Methods Locale Check

List of utility methods to do Locale Check

Description

The list of methods to do Locale Check are organized into topic(s).

Method

booleanis24HourLocale(Locale l)
is Hour Locale
String output = SimpleDateFormat.getTimeInstance(
        SimpleDateFormat.SHORT, l).format(new Date());
if (output.contains(" AM") || output.contains(" PM"))
    return false;
return true;