2016年8月20日

几秒后跳转到新页面

摘要: function myrefresh(){ window.location.reload();}setTimeout('myrefresh()',1000); //指定1秒刷新一次 阅读全文

posted @ 2016-08-20 15:49 wonder2636 阅读(219) 评论(0) 推荐(0) 编辑

计算3天的日期

摘要: 1.获取当前的年份 SimpleDateFormat df = new SimpleDateFormat("yyyy"); String year = df.format(new Date()); 2.获取前3天的日期 Calendar calendar = Calendar.getInstance 阅读全文

posted @ 2016-08-20 15:01 wonder2636 阅读(176) 评论(0) 推荐(0) 编辑

导航