本文整理了Java中org.fujion.common.DateUtil.today()
方法的一些代码示例,展示了DateUtil.today()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。DateUtil.today()
方法的具体详情如下:
包路径:org.fujion.common.DateUtil
类名称:DateUtil
方法名:today
[英]Returns a date with the current day (no time).
[中]返回包含当前日期的日期(无时间)。
代码示例来源:origin: org.carewebframework/org.carewebframework.ui.core
/**
* Displays the date range dialog.
*
* @param callback Callback for returning a date range reflecting the inputs from the dialog.
* This will be null if the input is cancelled or if an unexpected error occurs.
*/
public static void show(IResponseCallback<DateRange> callback) {
Date today = DateUtil.today();
show(today, today, callback);
}
代码示例来源:origin: org.fujion/fujion-common
c.setTime(DateUtil.today());
代码示例来源:origin: org.carewebframework/org.carewebframework.ui.core
/**
* Populate datebox with today's date while clearing timebox.
*/
@EventHandler(value = "click", target = "popup.btnToday", onFailure = OnFailure.IGNORE)
private void onClick$btnToday() {
updateDatebox(DateUtil.today());
updateTimebox(null);
validateInput();
close();
}
内容来源于网络,如有侵权,请联系作者删除!