test2.java 679 B

1234567891011121314151617181920212223242526
  1. import com.happy.Model.weixin.Users;
  2. import com.happy.Until.DateUtil;
  3. import net.sf.json.JSONObject;
  4. /**
  5. * 使用JAVA DOM PARSER:修改 XML 文件
  6. *
  7. * @author zfc
  8. * @date 2017年12月7日 下午8:31:55
  9. */
  10. public class test2 {
  11. public static void main(String[] args) throws InterruptedException {
  12. String start= "2023-02-03";
  13. String end= "2023-04-05";
  14. // System.out.println(DateUtil.convertTimeArea(start,end));
  15. //
  16. // String live_end = start.substring(0,10) +"~"+ end.substring(0,10);
  17. // System.out.println(live_end);
  18. Double a = new Double(2);
  19. Double b = new Double(3.5);
  20. System.out.println(a*b);
  21. }
  22. }