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

Method next

base/src/main/java/net/time4j/Weekday.java:322–330  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

320 * @return next weekday
321 */
322 public Weekday next() {
323
324 int index = this.ordinal() + 1;
325 if (index == 7) {
326 index = 0;
327 }
328 return ENUMS[index];
329
330 }
331
332 /**
333 * <p>Rolls to the previous day of week. </p>

Callers 4

valuesMethod · 0.95
lengthMethod · 0.95
iteratorMethod · 0.95
addWeekdayRuleMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected