Lines Matching refs:months
285 * specifying the {@code Duration} as isPositive, years, months, days, hours, minutes, seconds.
297 * @param months of this {@code Duration}
306 * {@code Duration}: if all the fields (years, months, ...) are null or
313 final BigInteger months,
321 * specifying the {@code Duration} as isPositive, years, months, days, hours, minutes, seconds.
328 * @param months of this {@code Duration}
342 * BigInteger months,
351 final int months,
360 // months may not be set
361 BigInteger realMonths = (months != DatatypeConstants.FIELD_UNDEFINED) ? BigInteger.valueOf((long) months) : null;
426 + "\", data model requires years and months only.");
517 null, // months
588 * @throws IllegalArgumentException If {@code lexicalRepresentation} is not a valid representation of a {@code Duration} expressed only in terms of years and months.
660 BigInteger months =
662 if (months == null) { months = BigInteger.ZERO; }
664 return newDurationYearMonth(isPositive, years, months);