"拉卡拉进件支付代码"
This commit is contained in:
@@ -610,6 +610,11 @@ public class DateUtils {
|
||||
int hours = (int) ((date2.getTime() - date1.getTime()) / (1000*3600));
|
||||
return Math.abs(hours);
|
||||
}
|
||||
private final static SimpleDateFormat sdfTimes = new SimpleDateFormat("yyyyMMddHHmmss");
|
||||
|
||||
public static String getSdfTimes() {
|
||||
return sdfTimes.format(new Date());
|
||||
}
|
||||
|
||||
public static void main(String[] args) throws ParseException {
|
||||
//List<String> last6Months = getLast6Months();
|
||||
|
||||
Reference in New Issue
Block a user