Home | History | Annotate | Download | only in datatype

Lines Matching refs:months

34  * which consists of six fields (years, months, days, hours,
159 boolean monthSet = isSet(DatatypeConstants.MONTHS);
234 * Obtains the value of the MONTHS field as an integer value,
238 * that this method works on the MONTHS field.
240 * @return Months of this <code>Duration</code>.
243 return getFieldValueAsInt(DatatypeConstants.MONTHS);
383 * In case of YEARS, MONTHS, DAYS, HOURS, and MINUTES, the returned
388 * one of the six Field constants (YEARS,MONTHS,DAYS,HOURS,
394 * For YEARS, MONTHS, DAYS, HOURS, and MINUTES, this method
406 * one of the six Field constants (YEARS,MONTHS,DAYS,HOURS,
427 * one of the six Field constants (YEARS,MONTHS,DAYS,HOURS,
494 * order of YEARS, MONTHS, DAYS, HOURS, MINUTES, SECONDS, and MILLISECONDS
544 * determine the duration of months and years.
644 * "P1M" (1 month) * "12" = "P12M" (12 months)
663 * to days, or year to months, this will cause an
670 * and months fields.
678 * the months field.
701 * <p>Converts the years and months fields into the days field
710 * <li>the years, months and days fields will be added to the {@link Calendar} object
722 * a very large value in the years or months fields.</p>
726 * @return <code>Duration</code> of years and months of this <code>Duration</code> as days.
773 * "P2Y" (two years) > "P23M" (23 months).</p>
897 BigInteger months = (BigInteger) getField(DatatypeConstants.MONTHS);
898 if (months != null) {
899 buf.append(months).append('M');