@Test public void getLocaleByCountry() throws Exception { assertTrue(DateTimeUtils.getLocaleByCountry("en", "us").equals(Locale.US)); }
public static Locale getLocaleByCountry(String lang, String country) { return StringUtils.isNotBlank(country) ? new Locale(lang, country) : new Locale(lang); }
DateTimeUtils { public static Locale getLocaleByCountry(String lang, String country) { return StringUtils.isNotBlank(country) ? new Locale(lang, country) : new Locale(lang); } }
DateTimeUtils { public static Locale getLocaleByCountry(String lang, String country) { return StringUtils.isNotBlank(country) ? new Locale(lang, country) : new Locale(lang); }  }
DateTimeUtils { public static Locale getLocaleByCountry(String lang, String country) { return StringUtils.isNotBlank(country) ? new Locale(lang, country) : new Locale(lang); }  static boolean isUnix(String locale); static boolean isMilliseconds(String locale); static boolean isDateValid(String date, Locale locale); static Locale getLocaleByCountry(String lang, String country); static DateTime getJodaOrJavaDate(final DateTimeFormatter dateFormatter, final String date); static DateTimeFormatter getDateFormatter(String format, String lang, String country); static DateTimeFormatter formatWithDefault(String lang, String country); }
DateTimeUtils { public static Locale getLocaleByCountry(String lang, String country) { return StringUtils.isNotBlank(country) ? new Locale(lang, country) : new Locale(lang); }  static boolean isUnix(String locale); static boolean isMilliseconds(String locale); static boolean isDateValid(String date, Locale locale); static Locale getLocaleByCountry(String lang, String country); static DateTime getJodaOrJavaDate(final DateTimeFormatter dateFormatter, final String date); static DateTimeFormatter getDateFormatter(String format, String lang, String country); static DateTimeFormatter formatWithDefault(String lang, String country);  }