![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
常用工具
文章平均质量分 77
chen3531
这个作者很懒,什么都没留下…
展开
-
日期类型转换
public static final int HOURS = 0; public static final int MINUTES = 1; /** * 将字符串转换成日期格式 * @param date * @param format * @return * @throws Exception */ public static Date parseDate(Str原创 2013-07-29 10:22:38 · 522 阅读 · 0 评论 -
fmt标签国际化
pageEncoding="UTF-8"%> String headd=request.getHeader("Accept-Language"); String head=request.getHeader("user-agent"); String local=request.getLocale().getLanguage(); if(local.equals("zh")原创 2013-08-29 13:12:07 · 1069 阅读 · 0 评论