@@ -0,0 +1,980 @@
+package com.anteoy.jmtest;%0A%0Aimport java.text.SimpleDateFormat;%0Aimport java.util.Calendar;%0Aimport java.util.Date;%0Aimport java.util.GregorianCalendar;%0A%0A/**%0A * @auther zhoudazhuang%0A * @date 18-8-3 11:33%0A * @description%0A */%0Apublic class Predealprediction %7B%0A  public static void main(String%5B%5D args) %7B%0A      Calendar c = Calendar.getInstance();%0A      System.out.println(c.get(Calendar.HOUR_OF_DAY));%0A      System.out.println(%22==========%22);%0A      Date date=new Date();%0A      SimpleDateFormat dateFm = new SimpleDateFormat(%22EEEE%22);%0A      Calendar   calendar   =   new GregorianCalendar();%0A      calendar.setTime(date);%0A      calendar.add(calendar.DATE,2);//%E6%8A%8A%E6%97%A5%E6%9C%9F%E5%BE%80%E5%90%8E%E5%A2%9E%E5%8A%A0%E4%B8%80%E5%A4%A9.%E6%95%B4%E6%95%B0%E5%BE%80%E5%90%8E%E6%8E%A8,%E8%B4%9F%E6%95%B0%E5%BE%80%E5%89%8D%E7%A7%BB%E5%8A%A8%0A      System.out.println(dateFm.format(date));%0A      dateFm.format(date);%0A      System.out.println(date);%0A      Calendar cal = Calendar.getInstance();%0A      cal.setTime(date);%0A//      int w = cal.get(Calendar.DAY_OF_WEEK);%0A      int w = calendar.get(Calendar.DAY_OF_WEEK);%0A      System.out.println(w);%0A  %7D%0A%7D%0A

predeal prediction