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

Method length

base/src/main/java/net/time4j/range/CalendarWeek.java:454–458  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

452 * @return {@code 7}
453 */
454 public int length() {
455
456 return ((this.year == GregorianMath.MAX_YEAR) && (this.week == 52)) ? 5 : 7;
457
458 }
459
460 /**
461 * <p>Converts given gregorian date to a calendar week. </p>

Callers 15

max1Method · 0.95
formatMethod · 0.45
acceptMethod · 0.45
parseMethod · 0.45
fromMethod · 0.45
parseXMLMethod · 0.45
parseAmPmMethod · 0.45
parseMethod · 0.45
createNumberMethod · 0.45
printMethod · 0.45
printNanosMethod · 0.45
toStringMethod · 0.45

Calls

no outgoing calls

Tested by 1

max1Method · 0.76