List of utility methods to do Locale Check
boolean | is24HourLocale(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; |