MCPcopy Create free account
hub / github.com/apache/groovy / getHour

Method getHour

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

Alias for #getHours(Integer). @param self the number of hours @return the corresponding duration

(final Integer self)

Source from the content-addressed store, hash-verified

254 * @return the corresponding duration
255 */
256 public static TimeDuration getHour(final Integer self) {
257 return getHours(self);
258 }
259
260 /**
261 * Returns a minute-based duration for the supplied number of minutes.

Callers 1

toCalendarMethod · 0.80

Calls 1

getHoursMethod · 0.95

Tested by

no test coverage detected