Returns a year-based duration for the supplied number of years. @param self the number of years @return the corresponding duration
(final Integer self)
| 180 | * @return the corresponding duration |
| 181 | */ |
| 182 | public static DatumDependentDuration getYears(final Integer self) { |
| 183 | return new DatumDependentDuration(self, 0, 0, 0, 0, 0, 0); |
| 184 | } |
| 185 | |
| 186 | /** |
| 187 | * Alias for {@link #getYears(Integer)}. |