// 05-12当前时间转换
String time = "1557590400000";
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
long lt = new Long(time);
Date date = new Date(lt);
String res = simpleDateFormat.format(date);
try {
date = simpleDateFormat.parse(res);
} catch (ParseException e) {
e.printStackTrace();
}
//05-12之后的日期
long ltt = new Long(sendTime);
Date datee = new Date(ltt);
String ress = simpleDateFormat.format(datee);
try {
datee = simpleDateFormat.parse(ress);
} catch (ParseException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
// if (date.getTime() > datee.getTime()){
if (sendTime.equals("1557590400000")){
result = new Result();
result.setCode(1001);
result.setMessage(PropertiesKey.readValue("1001"));
}else {
result = new Result();
result.setCode(1002);
result.setMessage(PropertiesKey.readValue("1002"));
}