DateFormat类和其子类SimpleDateFormat类

DateFormat类和其子类SimpleDateFormat类 DateFormat类是Format类的其中一个子类,也是一个抽象类,他的功能就是将Date类格式化为String类,也就是将日期格式化为文本格式,也可以将文本解析为日期. 例:2000.1.1 08:00:00<–>2000年 1月1日 8点0分0秒 DateFormat的成员方法有有两个 String Format(Date d
相关文章
相关标签/搜索