ITeye博客

GWT中日期的格式化

夏莹_合肥 · 2009-10-14 15:03 · GWT · Google · GWT · IDEA · Markdown

首先要继承模块

 

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

 

然后

 

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

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

评论(1)

  1. #1 楼 · Javac_MyLife · 2010-05-26 17:19

    帮了大忙了 :idea: 谢谢谢谢

评论功能维护中,当前仅展示历史评论。