Hello, there is a code:
sdf = new SimpleDateFormat("dd MMMMM",ruMonthFormatSymbols); mCalendarDateDisplay.setText(sdf.format(currentDate.getTime())); ...
private static DateFormatSymbols ruMonthFormatSymbols = new DateFormatSymbols() { @Override public String[] getMonths() { return new String[]{"Январь", "Февраль", "Март", "Апрель", "Май", "Июнь", "Июль", "Август", "Сентябрь", "Октябрь", "Ноябрь", "Декабрь"}; } }; I need to display the months in this form - with a capital letter and in the genitive case.
But in the end the text in
mCalendarDateDisplay like this: "August 06", and I need "August 06".
Even if I explicitly write:
sdf.setDateFormatSymbols(ruMonthFormatSymbols); SimpleDateFormat still ignores my instructions, how to fix it? Thank.
ruMonthFormatSymbolswill not be needed / - zRrr