MCPcopy Create free account
hub / github.com/MenoData/Time4J / plus

Method plus

base/src/main/java/net/time4j/GeneralTimestamp.java:273–279  ·  view source on GitHub ↗
(CalendarDays days)

Source from the content-addressed store, hash-verified

271 * @since 5.0
272 */
273 public GeneralTimestamp<C> plus(CalendarDays days) {
274
275 CalendarVariant<?> ncv = (this.cv == null) ? null : this.cv.plus(days);
276 Calendrical<?, ?> nca = (this.ca == null) ? null : this.ca.plus(days);
277 return new GeneralTimestamp<>(ncv, nca, this.time);
278
279 }
280
281 /**
282 * <p>Adds given count of clock units to this general timestamp and return the result. </p>

Callers 2

minusMethod · 0.95
GeneralTimestampMethod · 0.45

Calls 4

ofMethod · 0.95
getDayOverflowMethod · 0.95
getWallTimeMethod · 0.95
rollMethod · 0.45

Tested by

no test coverage detected