摘要: format方法 使用DateFormat类中的方法format,把日期格式转化为文本 使用步骤: 1.创建SimpleDateFormat对象,构造方法中传递指定的模式 2.调用SimpleDateFormat对象中的方法format,按照构造方法中的指定模式,吧Fate日期转化为符合模式的字符串 阅读全文
posted @ 2020-03-10 14:04 _Anke 阅读(1874) 评论(0) 推荐(0) 编辑