时间样式

SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM");
try {
Date date = dateFormat.parse(tvYearMonthSet.getText().toString());//开始时间
} catch (ParseException e) {
e.printStackTrace();
}

posted on 2019-09-24 09:42  带镐伤的土豆  阅读(140)  评论(0编辑  收藏  举报

导航