Home | History | Annotate | Download | only in datatype

Lines Matching refs:HOURS

34  * which consists of six fields (years, months, days, hours,
161 boolean hourSet = isSet(DatatypeConstants.HOURS);
260 * Obtains the value of the HOURS field as an integer value,
264 * that this method works on the HOURS field.
266 * @return Hours of this <code>Duration</code>.
270 return getFieldValueAsInt(DatatypeConstants.HOURS);
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,
444 * "-(1 hour,50 minutes)" + "-20 minutes" = "-(1 hours,70 minutes)"
445 * "15 hours" + "-3 days" = "-(2 days,9 hours)"
494 * order of YEARS, MONTHS, DAYS, HOURS, MINUTES, SECONDS, and MILLISECONDS
575 * "-(1 hour,50 minutes)" - "-20 minutes" = "-(1hours,30 minutes)"
576 * "15 hours" - "-3 days" = "3 days and 15 hours"
665 * which will be carried down to "PT12H" (12 hours).
718 * <li>the computed days, along with the hours, minutes and seconds
776 * <p>For example, "P1D" (one day) > "PT12H" (12 hours) and
824 * <p>For example, "P1D" (1 day) is equal to "PT24H" (24 hours).</p>
911 BigInteger hours = (BigInteger) getField(DatatypeConstants.HOURS);
914 if (hours != null || minutes != null || seconds != null) {
916 if (hours != null) {
917 buf.append(hours).append('H');