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

Method parsePeriod

base/src/main/java/net/time4j/Duration.java:2763–2768  ·  view source on GitHub ↗
(String period)

Source from the content-addressed store, hash-verified

2761 * @see #toStringXML()
2762 */
2763 public static Duration<IsoUnit> parsePeriod(String period)
2764 throws ParseException {
2765
2766 return parsePeriod(period, IsoUnit.class);
2767
2768 }
2769
2770 /**
2771 * <p>Parses a canonical representation with only date units to a

Callers 15

testToStringMethod · 0.95
testToStringISOMethod · 0.95
testToStringXML1Method · 0.95
parseMethod · 0.95
parseWithoutItemsMethod · 0.95
parseWithoutTimeMethod · 0.95
parseWithWrongOrderMethod · 0.95

Calls 3

parseMethod · 0.95
parseAltMethod · 0.95
lengthMethod · 0.45

Tested by 15

testToStringMethod · 0.76
testToStringISOMethod · 0.76
testToStringXML1Method · 0.76
parseMethod · 0.76
parseWithoutItemsMethod · 0.76
parseWithoutTimeMethod · 0.76
parseWithWrongOrderMethod · 0.76