标签:instance error set led calendar oid cal textview string
Calendar calendar=Calendar.getInstance();
SimpleDateFormat simpleDateFormat=new SimpleDateFormat("yyyy年MM月dd日");
String[] str1=new String[]{"Error","日","一","二","三","四","五","六"};
textView.setText("[公历]\t" + simpleDateFormat.format(new Date()) + "\t星期" + str1[calendar.DAY_OF_WEEK]);
标签:instance error set led calendar oid cal textview string
原文地址:http://www.cnblogs.com/xuhaifeng/p/6816929.html