字体:大 中 小
护眼
关灯
上一章
目录
下一章
15、骂战
第(1/3)页
请稍后阅读,章节错误
002
003
;
004
;
005
;
006
;
007
;
008
009
lassreportutil{
010
011
/**
012
*格式化日期
013
*@paramobj日期对象
014
*@paramformat格式化字符串
015
*@return
016
*/
017
publicstaticstringformatdate(objectobj,stringformat){
018
if(obj==null)
019
return““;
020
021
strings=(obj);
022
if(format==null||““(())){
023
format=“yyyy-mm-dd“;
024
}
025
try{
026
simpledateformatdateformat=newsimpledateformat(format);
027
s=(obj);
028
}catch(exceptione){
029
}
030
returns;
031
}
032
033
/**
034
*格式化数字
035
*@paramobj数字对象
036
*@paramformat格式化字符串
037
*@return
038
(本章未完,请翻页)
记住手机版网址:m.biqugecd.cc
『加入书签,方便阅读』
上一章
目录
下一章