return la.getLabel("Related_Lists", "task_mode_today");
}
@AuraEnabled
public List<LocalizedLabel> getWeekdayLabels() throws QuickFixException {
AuraLocale locale = Aura.getLocalizationAdapter().getAuraLocale();
DateFormatSymbols weekdaySymbols = DateFormatSymbols.getInstance(locale.getLanguageLocale());
String[] weekdays = weekdaySymbols.getWeekdays();
String[] shortWeekdays = weekdaySymbols.getShortWeekdays();
ArrayList<LocalizedLabel> weekdayList = new ArrayList<LocalizedLabel>(7);
for (int i = 1; i < weekdays.length; i++) {
weekdayList.add(new LocalizedLabel(weekdays[i], shortWeekdays[i].toUpperCase(locale.getLanguageLocale())));
}
return weekdayList;
}