MCPcopy Index your code
hub / github.com/apache/groovy / getMonths

Method getMonths

src/main/java/groovy/time/TimeCategory.java:162–164  ·  view source on GitHub ↗

Returns a month-based duration for the supplied number of months. @param self the number of months @return the corresponding duration

(final Integer self)

Source from the content-addressed store, hash-verified

160 * @return the corresponding duration
161 */
162 public static DatumDependentDuration getMonths(final Integer self) {
163 return new DatumDependentDuration(0, self, 0, 0, 0, 0, 0);
164 }
165
166 /**
167 * Alias for {@link #getMonths(Integer)}.

Callers 9

getMonthMethod · 0.95
positiveMethod · 0.45
minusMethod · 0.45
plusMethod · 0.45
minusMethod · 0.45
minusMethod · 0.45
plusMethod · 0.45
minusMethod · 0.45
getNowMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected