/**
* 获得当前时间一小时前的时间,格式化成yyyy-MM-dd HH:mm:ss:SS<br>
*
* @return 当前时间一小时前的时间
*/
public String getOneHoursAgoTime() {
String oneHoursAgoTime = "";
Calendar cal = Calendar.getInstance();
cal.set(Calendar.HOUR, 1);
oneHoursAgoTime = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss:SS")
.format(cal.getTime());
System.out.println("####getOneHoursAgoTime()-->oneHoursAgoTime:"
+ oneHoursAgoTime);
return oneHoursAgoTime;
}