List of usage examples for com.vaadin.client LocaleService getAmPmStrings
public static String[] getAmPmStrings(String locale) throws LocaleNotLoadedException
From source file:com.vaadin.client.DateTimeService.java
License:Apache License
public String[] getAmPmStrings() { try {/* ww w. j av a 2s.c o m*/ return LocaleService.getAmPmStrings(locale); } catch (final LocaleNotLoadedException e) { // TODO can this practically even happen? Should die instead? getLogger().log(Level.SEVERE, "Locale not loaded, using fallback : AM/PM", e); return DEFAULT_AMPM_STRINGS; } }