Returns a second-based duration for the supplied number of seconds. @param self the number of seconds @return the corresponding duration
(final Integer self)
| 284 | * @return the corresponding duration |
| 285 | */ |
| 286 | public static TimeDuration getSeconds(final Integer self) { |
| 287 | return new TimeDuration(0, 0, 0, self, 0); |
| 288 | } |
| 289 | |
| 290 | /** |
| 291 | * Alias for {@link #getSeconds(Integer)}. |