Commit 75e7f48c authored by linfeng's avatar linfeng

时间文件提交

parent cab4d387
...@@ -82,4 +82,11 @@ public class TimeManager { ...@@ -82,4 +82,11 @@ public class TimeManager {
Date date = new Date(lt); Date date = new Date(lt);
return simpleDateFormat.format(date); return simpleDateFormat.format(date);
} }
public static String stampToDate2(String s){
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
long lt = new Long(s);
Date date = new Date(lt);
return simpleDateFormat.format(date);
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment