Commit e846ef7c authored by youjj's avatar youjj

Merge remote-tracking branch 'origin/master'

parents 18693f23 75e7f48c
...@@ -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