Returns an hour-based duration for the supplied number of hours. @param self the number of hours @return the corresponding duration
(final Integer self)
| 244 | * @return the corresponding duration |
| 245 | */ |
| 246 | public static TimeDuration getHours(final Integer self) { |
| 247 | return new TimeDuration(0, self, 0, 0, 0); |
| 248 | } |
| 249 | |
| 250 | /** |
| 251 | * Alias for {@link #getHours(Integer)}. |