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]);

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-07
  • 2021-07-04
  • 2022-01-14
  • 2021-07-13
猜你喜欢
  • 2022-12-23
  • 2021-12-06
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-20
相关资源
相似解决方案