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

Method toString

base/src/main/java/net/time4j/PlainDate.java:1527–1536  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1525 * @return canonical ISO-8601-formatted string
1526 */
1527 @Override
1528 public String toString() {
1529
1530 StringBuilder sb = new StringBuilder(32);
1531 formatYear(sb, this.year);
1532 format2Digits(sb, this.month);
1533 format2Digits(sb, this.dayOfMonth);
1534 return sb.toString();
1535
1536 }
1537
1538 /**
1539 * <p>Normalized given timespan using years, months and days. </p>

Callers

nothing calls this directly

Calls 3

formatYearMethod · 0.95
format2DigitsMethod · 0.95
toStringMethod · 0.65

Tested by

no test coverage detected