我想我一個月轉換成使用SimpleDateFormat的MMM的格式,但我無法將其轉換。轉換成月MMM格式
tvDisplayDate = (TextView) findViewById(R.id.dateDisplay);
Calendar cal=Calendar.getInstance();
SimpleDateFormat format = new SimpleDateFormat("MMM");
int tempyear = cal.get(Calendar.YEAR);
int tempmonth = cal.get(Calendar.MONTH);
int tempday = cal.get(Calendar.DAY_OF_MONTH);
String month = new Integer(tempmonth).toString();