`
bean-woo
  • 浏览: 131301 次
  • 性别: Icon_minigender_1
  • 来自: 重庆
社区版块
存档分类
最新评论

Gwt Client DateFormat

    博客分类:
  • GWT
gwt 
阅读更多

1. 继承模块

在XX.gwt.xml中引入:

 

    <inherits name="com.google.gwt.i18n.I18N"/>  

 

2. 在代码中使用:

import com.google.gwt.i18n.client.DateTimeFormat;   

 

DateTimeFormat format = DateTimeFormat.getFormat("yyyy-MM-dd");  

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics