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

Method formatter

base/src/main/java/net/time4j/Duration.java:2876–2880  ·  view source on GitHub ↗
(String pattern)

Source from the content-addressed store, hash-verified

2874 * @since 3.0
2875 */
2876 public static Duration.Formatter<IsoUnit> formatter(String pattern) {
2877
2878 return Duration.Formatter.ofPattern(pattern);
2879
2880 }
2881
2882 /**
2883 * <p>Equivalent to {@link net.time4j.Duration.Formatter#ofPattern(Class, String)}. </p>

Callers 12

daysAndHoursToMillisMethod · 0.95
parseEnglishTextMethod · 0.95
parseGermanTextMethod · 0.95
parseTripleTextMethod · 0.95
parseEmptyPatternMethod · 0.95
parseInvalidMethod · 0.95
overlapOfPartitionsMethod · 0.95

Calls 1

ofPatternMethod · 0.45

Tested by 12

daysAndHoursToMillisMethod · 0.76
parseEnglishTextMethod · 0.76
parseGermanTextMethod · 0.76
parseTripleTextMethod · 0.76
parseEmptyPatternMethod · 0.76
parseInvalidMethod · 0.76
overlapOfPartitionsMethod · 0.76