List of usage examples for com.vaadin.client LocaleService getShortDayNames
public static String[] getShortDayNames(String locale) throws LocaleNotLoadedException
From source file:com.vaadin.client.DateTimeService.java
License:Apache License
/** * Returns the localized short name of the specified day. * * @param day/*from ww w . ja va 2 s.c o m*/ * the day, {@code 0} is {@code SUNDAY} * @return the localized short name */ public String getShortDay(int day) { try { return LocaleService.getShortDayNames(locale)[day]; } catch (final LocaleNotLoadedException e) { getLogger().log(Level.SEVERE, "Error in getShortDay", e); return null; } }