Home
last modified time | relevance | path

Searched refs:withResolverFields (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKDateTimeFormatter.java178 DateTimeFormatter f = base.withResolverFields(YEAR, MONTH_OF_YEAR, DAY_OF_MONTH); in test_resolverFields_selectOneDateResolveYMD()
194 DateTimeFormatter f = base.withResolverFields(YEAR, DAY_OF_YEAR); in test_resolverFields_selectOneDateResolveYD()
213 DateTimeFormatter f = base.withResolverFields(YEAR, DAY_OF_YEAR); in test_resolverFields_ignoreCrossCheck()
227 .appendValue(YEAR).toFormatter().withResolverFields(); in test_resolverFields_emptyList()
235 .appendValue(YEAR).toFormatter().withResolverFields(YEAR); in test_resolverFields_listOfOneMatching()
243 .appendValue(YEAR).toFormatter().withResolverFields(MONTH_OF_YEAR); in test_resolverFields_listOfOneNotMatching()
252 .appendValue(YEAR).toFormatter().withResolverFields((TemporalField) null); in test_resolverFields_listOfOneNull()
259 DateTimeFormatter f = DateTimeFormatter.ISO_DATE.withResolverFields(MONTH_OF_YEAR); in test_resolverFields_Array_null()
261 f = f.withResolverFields((TemporalField[]) null); in test_resolverFields_Array_null()
267 DateTimeFormatter f = DateTimeFormatter.ISO_DATE.withResolverFields(MONTH_OF_YEAR); in test_resolverFields_Set_null()
[all …]
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeFormatter.java1648 public DateTimeFormatter withResolverFields(TemporalField... resolverFields) { in withResolverFields() method in DateTimeFormatter
1698 public DateTimeFormatter withResolverFields(Set<TemporalField> resolverFields) { in withResolverFields() method in DateTimeFormatter