91 |
|
|
92 |
/** |
/** |
93 |
* Returns a new duration. |
* Returns a new duration. |
94 |
* @param durationInMilliseconds the duration in milliseconds |
* @param durationInMilliSeconds the duration in milliseconds |
95 |
*/ |
*/ |
96 |
public abstract Duration newDuration(long durationInMilliSeconds); |
public abstract Duration newDuration(long durationInMilliSeconds); |
97 |
|
|
231 |
* @param isPositive whether the duration is positive |
* @param isPositive whether the duration is positive |
232 |
* @param years the number of years |
* @param years the number of years |
233 |
* @param months the number of months |
* @param months the number of months |
|
* @param days the number of days |
|
|
* @param hours the number of hours |
|
|
* @param minutes th number of minutes |
|
|
* @param seconds the number of seconds |
|
234 |
*/ |
*/ |
235 |
public Duration newDurationYearMonth(boolean isPositive, |
public Duration newDurationYearMonth(boolean isPositive, |
236 |
BigInteger years, |
BigInteger years, |
250 |
* @param isPositive whether the duration is positive |
* @param isPositive whether the duration is positive |
251 |
* @param years the number of years |
* @param years the number of years |
252 |
* @param months the number of months |
* @param months the number of months |
|
* @param days the number of days |
|
|
* @param hours the number of hours |
|
|
* @param minutes th number of minutes |
|
|
* @param seconds the number of seconds |
|
253 |
*/ |
*/ |
254 |
public Duration newDurationYearMonth(boolean isPositive, |
public Duration newDurationYearMonth(boolean isPositive, |
255 |
int years, |
int years, |