飞艳小屋

程序--人生--哲学___________________欢迎艳儿的加入

BlogJava 首页 新随笔 联系 聚合 管理
  52 Posts :: 175 Stories :: 107 Comments :: 0 Trackbacks
//請求処理に1ヶ月加算した結果(次回請求予定)を画面表示
          SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyyMMdd", Locale.US);
          Date date = simpleDateFormat.parse(selectQuery.getString("SIMEYMD"));
          Calendar calender = Calendar.getInstance();
          calender.setTime(date);
          calender.add(Calendar.MONTH, 1);
          simpleDateFormat.format(calender.getTime());
          argConditionData.setSimeymd(simpleDateFormat.format(calender.getTime()).toString());
posted on 2006-02-22 14:35 天外飞仙 阅读(8723) 评论(1)  编辑  收藏 所属分类: java

Feedback

# re: java中的日期加一个月的计算 2014-08-26 10:41 陈怡
非常感谢。。  回复  更多评论
  


只有注册用户登录后才能发表评论。


网站导航: