?:??: W/?(?): decimal=============1373947220
double time = item.getDouble("created_at");
// 这里必须*1000,后台为毫秒数据,只有转成秒之后时间才显示正常BigDecimal decimal = new BigDecimal(time * 1000);
//decimal = decimal.setScale(0);// 大数字在JAVA中输出显示时,一般都是用10的幂来表示(E6),此处为正常显示处理,当然这里可以不处理
Log.d("wey", "decimal=============" + decimal);
SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd");
String _time = format.format(decimal.longValue());
Date date = format.parse(_time);
news.setTimes(_time);