摘要: package i.work;import java.text.ParseException;import java.text.SimpleDateFormat;import java.util.Date;public class Timeformat { // 将字符串转为时间戳 public static long getTime(String user_time) { long l = 0; // 默认的时间字符串格式 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'... 阅读全文
posted @ 2014-03-06 16:02 ggaaooppeenngg 阅读(2220) 评论(0) 推荐(0) 编辑