摘要: 主要用到了SimpleDateFormat这个类,该类有一个方法:void applyPattern(String pattern) 用来将给定模式字符串应用于日期格式。public static void main(String[] args) throws ClassNotFoundException, IOException, ParseException { // TODO Auto-generated method stub SimpleDateFormat dateFormatter = new SimpleDateFormat("... 阅读全文
posted @ 2012-05-15 13:37 一瓶珍情 阅读(4557) 评论(0) 推荐(0)