zoukankan      html  css  js  c++  java
  • 展示消息提醒信息,2019年1月1日 09:52:54

    public String getSuccessMessage() {
        //获取时间的年月日时分秒
        Calendar now = Calendar.getInstance();
        now.setTime(this.getBidPriceTime());
        int year = now.get(Calendar.YEAR);
        int month = now.get(Calendar.MONTH) + 1; // 0-based!
        int day = now.get(Calendar.DAY_OF_MONTH);
        Time sfm = new Time(now.getTimeInMillis());
        return "恭喜!您于"+year+""+month+""+day+""+sfm+"参与竞价的编号为"+this.getOrderNo()+"的订单,出价金额为"
          +this.getCharge()+"元,竞价成功!";
      }
  • 相关阅读:
    4.26上午
    4.25下午
    4.19上午
    4.18上午
    7.26
    7.25
    7.21-7.22
    7.22
    7.21
    7.11-7.15
  • 原文地址:https://www.cnblogs.com/yangyuke1994/p/10207108.html
Copyright © 2011-2022 走看看