HomeSort by relevance Sort by last modified time
    Searched refs:YEARS (Results 1 - 4 of 4) sorted by null

  /libcore/luni/src/main/java/javax/xml/datatype/
DatatypeConstants.java 127 * <p>A constant that represents the years field.</p>
129 public static final Field YEARS = new Field("YEARS", 0);
Duration.java 34 * which consists of six fields (years, months, days, hours,
158 boolean yearSet = isSet(DatatypeConstants.YEARS);
218 * <p>Get the years value of this <code>Duration</code> as an <code>int</code> or <code>0</code> if not present.</p>
221 * {@link #getField(DatatypeConstants.Field field) getField(DatatypeConstants.YEARS)}.</p>
224 * with years that go beyond the range of an <code>int</code>.
225 * Use {@link #getField(DatatypeConstants.Field field) getField(DatatypeConstants.YEARS)} to avoid possible loss of precision.</p>
227 * @return If the years field is present, return its value as an <code>int</code>, else return <code>0</code>.
230 return getFieldValueAsInt(DatatypeConstants.YEARS);
383 * In case of YEARS, MONTHS, DAYS, HOURS, and MINUTES, the returned
388 * one of the six Field constants (YEARS,MONTHS,DAYS,HOURS
896 BigInteger years = (BigInteger) getField(DatatypeConstants.YEARS); local
    [all...]
  /prebuilt/sdk/8/
android.jar 
  /prebuilt/sdk/9/
android.jar 

Completed in 89 milliseconds