suitang
1.public int get(int field):返回给定日历字段的值。

 

 2.public void set(int field, int value):将给定的日历字段设置为给定值。

 

 3.public abstract void add(int field, int amount):根据日历的规则,为给定的日历字段添加或减去指定的时间量。

 

 

4.public Date getTime():返回一个表示此Calendar时间值(从历元到现在的毫秒偏移量)的Date对象。

 

分类:

技术点:

相关文章:

  • 2021-11-23
  • 2021-07-28
  • 2022-12-23
  • 2021-07-17
  • 2021-06-23
  • 2021-08-27
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-26
  • 2021-11-23
  • 2022-02-08
  • 2021-11-23
  • 2022-12-23
  • 2022-02-08
  • 2021-06-17
相关资源
相似解决方案