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

Method format2Digits

base/src/main/java/net/time4j/PlainDate.java:2128–2141  ·  view source on GitHub ↗
(
        StringBuilder sb,
        int value
    )

Source from the content-addressed store, hash-verified

2126 }
2127
2128 private static void format2Digits(
2129 StringBuilder sb,
2130 int value
2131 ) {
2132
2133 sb.append('-');
2134
2135 if (value < 10) {
2136 sb.append('0');
2137 }
2138
2139 sb.append(value);
2140
2141 }
2142
2143 private static void registerExtensions(TimeAxis.Builder<IsoDateUnit, PlainDate> builder) {
2144

Callers 2

toStringMethod · 0.95
fromEpochMonthsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected