Code example for DateFormatSymbols

Methods: getShortWeekdays

0
	public static String getShortDayOfWeekName(Calendar cal) {
		if(isGingerbreadOrLater()) { 
			return cal.getDisplayName(Calendar.DAY_OF_WEEK, Calendar.SHORT, Locale.getDefault());
		} 
		else { 
			return dfs.getShortWeekdays()[cal.get(Calendar.DAY_OF_WEEK)];			
		} 
	} 
 
	@SuppressLint("NewApi") 
	public static String getShortMonthName(Calendar cal) {
		if(isGingerbreadOrLater()) { 
			return cal.getDisplayName(Calendar.MONTH, Calendar.SHORT, Locale.getDefault());
		} 
		else { 
			return dfs.getShortMonths()[cal.get(Calendar.MONTH)];			
		} 
	} 
 
	@SuppressLint("NewApi") 
Connect your IDE to all the code out there  Get Codota for Java