/libcore/ojluni/src/test/java/time/test/java/time/temporal/ |
D | MockFieldValue.java | 73 private final TemporalField field; field in MockFieldValue 76 public MockFieldValue(TemporalField field, long value) { in MockFieldValue() 82 public boolean isSupported(TemporalField field) { in isSupported() 87 public ValueRange range(TemporalField field) { in range() 98 public long getLong(TemporalField field) { in getLong()
|
/libcore/ojluni/src/main/java/java/time/temporal/ |
D | TemporalAccessor.java | 126 boolean isSupported(TemporalField field); in isSupported() 169 default ValueRange range(TemporalField field) { in range() 217 default int get(TemporalField field) { in get() 255 long getLong(TemporalField field); in getLong()
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | Era.java | 145 default boolean isSupported(TemporalField field) { in isSupported() 178 default ValueRange range(TemporalField field) { in range() 208 default int get(TemporalField field) { in get() 238 default long getLong(TemporalField field) { in getLong()
|
D | ChronoZonedDateTime.java | 179 default ValueRange range(TemporalField field) { in range() 190 default int get(TemporalField field) { in get() 204 default long getLong(TemporalField field) { in getLong() 376 boolean isSupported(TemporalField field); in isSupported() 422 ChronoZonedDateTime<D> with(TemporalField field, long newValue); in with()
|
/libcore/libart/src/main/java/java/lang/invoke/ |
D | FieldVarHandle.java | 29 private FieldVarHandle(Field field, Class<?> declaringClass) { in FieldVarHandle() 34 private FieldVarHandle(Field field) { in FieldVarHandle() 39 static FieldVarHandle create(Field field) { in create()
|
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/ |
D | TCKChronoField.java | 146 public void test_getBaseUnit(ChronoField field, ChronoUnit baseUnit, ChronoUnit rangeUnit) { in test_getBaseUnit() 190 public void test_isDateBased(ChronoField field, boolean isDateBased, boolean isTimeBased) { in test_isDateBased() 240 …public void test_supportedAccessor(ChronoField field, TemporalAccessor accessor, boolean isSupport… in test_supportedAccessor() 265 assertEquals(ChronoField.valueOf(field.name()), field); in test_valueOf() local
|
D | TCKJulianFields.java | 128 public void test_samples_get(TemporalField field, LocalDate date, long expected) { in test_samples_get() 133 public void test_samples_set(TemporalField field, LocalDate date, long value) { in test_samples_set() 143 public void test_samples_parse_STRICT(TemporalField field, LocalDate date, long value) { in test_samples_parse_STRICT() 151 public void test_samples_parse_SMART(TemporalField field, LocalDate date, long value) { in test_samples_parse_SMART() 159 public void test_samples_parse_LENIENT(TemporalField field, LocalDate date, long value) { in test_samples_parse_LENIENT()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | DataFormatFieldTest.java | 37 MyField field = new MyField("day of month", Calendar.ERA); in test_ConstructorLjava_lang_StringLjava_lang_String() local 70 MyField field = new MyField("a field", Calendar.DAY_OF_WEEK); in test_ConstructorLjava_lang_StringI() local 86 MyField field = new MyField("day of month", Calendar.ERA); in test_Constructor2() local 182 MyField field; in test_readResolve() local
|
/libcore/ojluni/src/main/java/java/security/spec/ |
D | EllipticCurve.java | 45 private final ECField field; field in EllipticCurve 51 private static void checkValidity(ECField field, BigInteger c, in checkValidity() 81 public EllipticCurve(ECField field, BigInteger a, in EllipticCurve() 101 public EllipticCurve(ECField field, BigInteger a, in EllipticCurve()
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/annotations/ |
D | FieldTest.java | 38 public String field; field in FieldTest.Type 42 Field field = Type.class.getField("field"); in testFieldAnnotations() local 89 Field field = c.getDeclaredField(fieldName); in checkDeclaredAnnotation() local 125 Field field = c.getDeclaredField(fieldName); in assertGetDeclaredAnnotationsByType() local 157 Field field = c.getDeclaredField(fieldName); in assertGetAnnotationsByType() local
|
/libcore/ojluni/src/main/java/sun/util/locale/provider/ |
D | CalendarDataUtility.java | 103 public static String retrieveFieldValueName(String id, int field, int value, int style, in retrieveFieldValueName() 150 public static String retrieveJavaTimeFieldValueName(String id, int field, int value, int style, in retrieveJavaTimeFieldValueName() 166 public static Map<String, Integer> retrieveFieldValueNames(String id, int field, int style, in retrieveFieldValueNames() 197 public static Map<String, Integer> retrieveJavaTimeFieldValueNames(String id, int field, in retrieveJavaTimeFieldValueNames() 225 private static Map<String, Integer> retrieveFieldValueNamesImpl(String id, int field, int style, in retrieveFieldValueNamesImpl() 261 private static String[] getNames(String id, int field, int style, Locale locale) { in getNames()
|
/libcore/ojluni/annotations/sdk/nullability/java/util/ |
D | Calendar.annotated.java | 76 public int get(int field) { throw new RuntimeException("Stub!"); } in get() 78 protected final int internalGet(int field) { throw new RuntimeException("Stub!"); } in internalGet() 80 public void set(int field, int value) { throw new RuntimeException("Stub!"); } in set() 90 public final void clear(int field) { throw new RuntimeException("Stub!"); } in clear() 92 public final boolean isSet(int field) { throw new RuntimeException("Stub!"); } in isSet() 94 @libcore.util.Nullable public java.lang.String getDisplayName(int field, int style, @libcore.util.N… in getDisplayName() 96 …onNull String, java.lang.@libcore.util.NonNull Integer> getDisplayNames(int field, int style, @lib… in getDisplayNames() 114 public abstract void add(int field, int amount); in add() 116 public abstract void roll(int field, boolean up); in roll() 118 public void roll(int field, int amount) { throw new RuntimeException("Stub!"); } in roll() [all …]
|
/libcore/ojluni/src/main/java/java/time/ |
D | DayOfWeek.java | 251 public boolean isSupported(TemporalField field) { in isSupported() 281 public ValueRange range(TemporalField field) { in range() 314 public int get(TemporalField field) { in get() 344 public long getLong(TemporalField field) { in getLong()
|
D | Month.java | 278 public boolean isSupported(TemporalField field) { in isSupported() 308 public ValueRange range(TemporalField field) { in range() 341 public int get(TemporalField field) { in get() 371 public long getLong(TemporalField field) { in getLong()
|
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
D | TestReducedParser.java | 99 private DateTimeFormatter getFormatter0(TemporalField field, int width, int baseValue) { in getFormatter0() 103 …private DateTimeFormatter getFormatter0(TemporalField field, int minWidth, int maxWidth, int baseV… in getFormatter0() 107 …private DateTimeFormatter getFormatterBaseDate(TemporalField field, int minWidth, int maxWidth, in… in getFormatterBaseDate() 121 …public void test_parse_error(TemporalField field, int width, int baseValue, String text, int pos, … in test_parse_error() 186 …public void test_parseAllStrict(TemporalField field, int width, int baseValue, String input, int p… in test_parseAllStrict() 200 …public void test_parseAllLenient(TemporalField field, int width, int baseValue, String input, int … in test_parseAllLenient() 272 …public void test_parseStrict(TemporalField field, int minWidth, int maxWidth, int baseValue, Strin… in test_parseStrict() 287 …public void test_parseStrict_baseDate(TemporalField field, int minWidth, int maxWidth, int baseVal… in test_parseStrict_baseDate() 305 …public void test_parseLenient(TemporalField field, int minWidth, int maxWidth, int baseValue, Stri… in test_parseLenient() 320 …public void test_parseLenient_baseDate(TemporalField field, int minWidth, int maxWidth, int baseVa… in test_parseLenient_baseDate() [all …]
|
D | TestTextParser.java | 98 …public void test_parse_error(TemporalField field, TextStyle style, String text, int pos, Class<?> … in test_parse_error() 249 …public void test_parseText(TemporalField field, TextStyle style, int value, String input) throws E… in test_parseText() 256 …public void test_parseNumber(TemporalField field, TextStyle style, int value, String input) throws… in test_parseNumber() 263 …public void test_parseStandaloneText(Locale locale, TemporalField field, TextStyle style, int expe… in test_parseStandaloneText() 280 …public void test_parse_strict_caseSensitive_parseUpper(TemporalField field, TextStyle style, int v… in test_parse_strict_caseSensitive_parseUpper() 292 …public void test_parse_strict_caseInsensitive_parseUpper(TemporalField field, TextStyle style, int… in test_parse_strict_caseInsensitive_parseUpper() 301 …public void test_parse_strict_caseSensitive_parseLower(TemporalField field, TextStyle style, int v… in test_parse_strict_caseSensitive_parseLower() 313 …public void test_parse_strict_caseInsensitive_parseLower(TemporalField field, TextStyle style, int… in test_parse_strict_caseInsensitive_parseLower() 430 …public void test_parseLenientText(Locale locale, TemporalField field, int expectedValue, String in… in test_parseLenientText()
|
D | AbstractTestPrinterParser.java | 128 protected DateTimeFormatter getFormatter(TemporalField field) { in getFormatter() 132 protected DateTimeFormatter getFormatter(TemporalField field, TextStyle style) { in getFormatter() 136 …protected DateTimeFormatter getFormatter(TemporalField field, int minWidth, int maxWidth, SignStyl… in getFormatter()
|
D | TestTextPrinter.java | 247 …public void test_format(TemporalField field, TextStyle style, int value, String expected) throws E… in test_format() 260 …public void test_formatJapaneseEra(TemporalField field, TextStyle style, int value, String expecte… in test_formatJapaneseEra() 267 …public void test_standaloneNames(Locale locale, TemporalField field, TextStyle style, String expec… in test_standaloneNames()
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Calendar.java | 109 public int get(int field) { in get() 113 protected final int internalGet(int field) { in internalGet() 117 final void internalSet(int field, int value) { in internalSet() 121 public void set(int field, int value) { in set() 141 public final void clear(int field) { in clear() 145 public final boolean isSet(int field) { in isSet() 149 public java.lang.String getDisplayName(int field, int style, java.util.Locale locale) { in getDisplayName() 154 int field, int style, java.util.Locale locale) { in getDisplayNames() 159 int field, int style, java.util.Locale locale) { in getDisplayNamesImpl() 164 int field, in checkDisplayNameParams() [all …]
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | DateTimeTextProvider.java | 141 public String getText(TemporalField field, long value, TextStyle style, Locale locale) { in getText() 164 public String getText(Chronology chrono, TemporalField field, long value, in getText() 219 …public Iterator<Entry<String, Long>> getTextIterator(TemporalField field, TextStyle style, Locale … in getTextIterator() 244 public Iterator<Entry<String, Long>> getTextIterator(Chronology chrono, TemporalField field, in getTextIterator() 309 private Object findStore(TemporalField field, Locale locale) { in findStore() 328 private Object createStore(TemporalField field, Locale locale) { in createStore() 491 private static <A, B> Entry<A, B> createEntry(A text, B field) { in createEntry()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Calendar.java | 1151 public Builder set(int field, int value) { in set() 1202 int field = fieldValuePairs[i++]; in setFields() local 1554 private void internalSet(int field, int value) { in internalSet() 1807 public int get(int field) in get() 1821 protected final int internalGet(int field) in internalGet() 1838 final void internalSet(int field, int value) in internalSet() 1857 public void set(int field, int value) in set() 1995 public final void clear(int field) in clear() 2014 public final boolean isSet(int field) in isSet() 2063 public String getDisplayName(int field, int style, Locale locale) { in getDisplayName() [all …]
|
/libcore/luni/src/test/java/libcore/java/text/ |
D | OldMessageFormatFieldTest.java | 33 MyMessageFormat field = new MyMessageFormat(name); in test_ConstructorLjava_lang_String() local 53 MyMessageFormat field; in test_readResolve() local
|
D | OldNumberFormatFieldTest.java | 32 MyNumberFormat field = new MyNumberFormat(name); in test_ConstructorLjava_lang_String() local 48 MyNumberFormat field; in test_readResolve() local
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | CalendarTest.java | 742 public int internal_get(int field) { in internal_get() 754 public void add(int field, int value) { in add() 766 public int getGreatestMinimum(int field) { in getGreatestMinimum() 771 public int getLeastMaximum(int field) { in getLeastMaximum() 776 public int getMaximum(int field) { in getMaximum() 781 public int getMinimum(int field) { in getMinimum() 786 public void roll(int field, boolean increment) { in roll()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
D | GenericArrayTypeTest.java | 36 Field field = clazz.getDeclaredField("array"); in testGetGenericComponentType() local 56 Field field = clazz.getDeclaredField("array"); in testParameterizedComponentType() local
|