//begin add by yuan.wang,202206/11.字符串转UTC
long timeStampStartTime = 0;
try {
String hh = "2022-06-11 16:00:00";
SimpleDateFormat DateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
Date ssDate = DateFormat.parse(hh);
timeStampStartTime= ssDate.getTime();
System.out.println(ssDate);
System.out.println(ssDate.getTime());
} catch (ParseException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
}
Criteria.StartTime.Seconds = (int)(timeStampStartTime/1000);
Criteria.StartTime.Millisecs = 0;
//end add by yuan.wang.