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

Method append2Digits

base/src/main/java/net/time4j/PlainTime.java:1900–1911  ·  view source on GitHub ↗
(
        int element,
        StringBuilder sb
    )

Source from the content-addressed store, hash-verified

1898 }
1899
1900 private static void append2Digits(
1901 int element,
1902 StringBuilder sb
1903 ) {
1904
1905 if (element < 10) {
1906 sb.append('0');
1907 }
1908
1909 sb.append(element);
1910
1911 }
1912
1913 private static void checkHour(long hour) {
1914

Callers 1

toStringMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected