I am finding a solution to get very short week day names like Google Calendar App.
The below is what I tried:
String[] shortWeekDays = DateFormatSymbols.getInstance(Locale.getDefault()).getShortWeekdays();
The result is
Sun, Mon, Tue, Wed, Thu, Fri, Sat
Google Calendar (Very short week-day names)
S, M, T, W, T, F, S
I like to use Week-day names like Google calendar
Updated I was thinking about getting first letter of week-day names (after DateFormatSymbols.getShortWeekdays) BUT for some languages (Chinese, Singapore, Taiwan), the first letter are the same for all 7 week-days. See my below test
String[] weekDays = DateFormatSymbols.getInstance(Locale.CHINESE).getShortWeekdays();
// 星期日, 星期一, 星期二, 星期三, 星期四, 星期五, 星期六]
I am thinking about using String resources BUT my application support all languages around the world based on current locale used, it is hard for me to put all very short week-day names for All languages.
Anyone has ideas? Thank you!