MCPcopy Create free account
hub / github.com/SeanDragon/protools / addYear

Method addYear

common/src/main/java/pro/tools/time/DatePlus.java:83–86  ·  view source on GitHub ↗
(long year)

Source from the content-addressed store, hash-verified

81 //region 添加属性值
82
83 public DatePlus addYear(long year) {
84 this.localDateTime = this.localDateTime.plusYears(year);
85 return this;
86 }
87
88 public DatePlus addMonth(long month) {
89 this.localDateTime = this.localDateTime.plusMonths(month);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected