/libcore/ojluni/src/main/java/java/time/chrono/ |
D | AbstractChronology.java | 453 …ic ChronoLocalDate resolveDate(Map<TemporalField, Long> fieldValues, ResolverStyle resolverStyle) { in resolveDate() argument 460 resolveProlepticMonth(fieldValues, resolverStyle); in resolveDate() 463 ChronoLocalDate resolved = resolveYearOfEra(fieldValues, resolverStyle); in resolveDate() 472 return resolveYMD(fieldValues, resolverStyle); in resolveDate() 476 return resolveYMAA(fieldValues, resolverStyle); in resolveDate() 479 return resolveYMAD(fieldValues, resolverStyle); in resolveDate() 484 return resolveYD(fieldValues, resolverStyle); in resolveDate() 488 return resolveYAA(fieldValues, resolverStyle); in resolveDate() 491 return resolveYAD(fieldValues, resolverStyle); in resolveDate() 498 void resolveProlepticMonth(Map<TemporalField, Long> fieldValues, ResolverStyle resolverStyle) { in resolveProlepticMonth() argument [all …]
|
D | IsoChronology.java | 491 … public LocalDate resolveDate(Map<TemporalField, Long> fieldValues, ResolverStyle resolverStyle) { in resolveDate() argument 492 return (LocalDate) super.resolveDate(fieldValues, resolverStyle); in resolveDate() 496 void resolveProlepticMonth(Map<TemporalField, Long> fieldValues, ResolverStyle resolverStyle) { in resolveProlepticMonth() argument 499 if (resolverStyle != ResolverStyle.LENIENT) { in resolveProlepticMonth() 508 LocalDate resolveYearOfEra(Map<TemporalField, Long> fieldValues, ResolverStyle resolverStyle) { in resolveYearOfEra() argument 511 if (resolverStyle != ResolverStyle.LENIENT) { in resolveYearOfEra() 517 if (resolverStyle == ResolverStyle.STRICT) { in resolveYearOfEra() 543 LocalDate resolveYMD(Map <TemporalField, Long> fieldValues, ResolverStyle resolverStyle) { in resolveYMD() argument 545 if (resolverStyle == ResolverStyle.LENIENT) { in resolveYMD() 552 if (resolverStyle == ResolverStyle.SMART) { // previous valid in resolveYMD()
|
D | JapaneseChronology.java | 433 …blic JapaneseDate resolveDate(Map <TemporalField, Long> fieldValues, ResolverStyle resolverStyle) { in resolveDate() argument 434 return (JapaneseDate) super.resolveDate(fieldValues, resolverStyle); in resolveDate() 438 …ronoLocalDate resolveYearOfEra(Map<TemporalField, Long> fieldValues, ResolverStyle resolverStyle) { in resolveYearOfEra() argument 451 … null && yoeLong != null && fieldValues.containsKey(YEAR) == false && resolverStyle != ResolverSty… in resolveYearOfEra() 458 return resolveYMD(era, yoe, fieldValues, resolverStyle); in resolveYearOfEra() 462 return resolveYD(era, yoe, fieldValues, resolverStyle); in resolveYearOfEra() 472 …veYMD(JapaneseEra era, int yoe, Map<TemporalField,Long> fieldValues, ResolverStyle resolverStyle) { in resolveYMD() argument 475 if (resolverStyle == ResolverStyle.LENIENT) { in resolveYMD() 483 if (resolverStyle == ResolverStyle.SMART) { // previous valid in resolveYMD() 505 …veYD(JapaneseEra era, int yoe, Map <TemporalField,Long> fieldValues, ResolverStyle resolverStyle) { in resolveYD() argument [all …]
|
D | MinguoChronology.java | 334 … public MinguoDate resolveDate(Map<TemporalField, Long> fieldValues, ResolverStyle resolverStyle) { in resolveDate() argument 335 return (MinguoDate) super.resolveDate(fieldValues, resolverStyle); in resolveDate()
|
D | ThaiBuddhistChronology.java | 370 …c ThaiBuddhistDate resolveDate(Map<TemporalField, Long> fieldValues, ResolverStyle resolverStyle) { in resolveDate() argument 371 return (ThaiBuddhistDate) super.resolveDate(fieldValues, resolverStyle); in resolveDate()
|
D | Chronology.java | 674 ChronoLocalDate resolveDate(Map<TemporalField, Long> fieldValues, ResolverStyle resolverStyle); in resolveDate() argument
|
D | HijrahChronology.java | 605 … public HijrahDate resolveDate(Map<TemporalField, Long> fieldValues, ResolverStyle resolverStyle) { in resolveDate() argument 606 return (HijrahDate) super.resolveDate(fieldValues, resolverStyle); in resolveDate()
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | Parsed.java | 145 private ResolverStyle resolverStyle; field in Parsed 239 TemporalAccessor resolve(ResolverStyle resolverStyle, Set<TemporalField> resolverFields) { in resolve() argument 243 this.resolverStyle = resolverStyle; in resolve() 268 … TemporalAccessor resolvedObject = targetField.resolve(fieldValues, this, resolverStyle); in resolveFields() 351 updateCheckConflict(chrono.resolveDate(fieldValues, resolverStyle)); in resolveDateFields() 373 … if (resolverStyle == ResolverStyle.STRICT || (resolverStyle == ResolverStyle.SMART && ch != 0)) { in resolveTimeFields() 381 … if (resolverStyle == ResolverStyle.STRICT || (resolverStyle == ResolverStyle.SMART && ch != 0)) { in resolveTimeFields() 389 if (resolverStyle == ResolverStyle.LENIENT) { in resolveTimeFields() 399 if (resolverStyle != ResolverStyle.LENIENT) { in resolveTimeFields() 409 if (resolverStyle != ResolverStyle.LENIENT) { in resolveTimeFields() [all …]
|
D | DateTimeFormatter.java | 500 private final ResolverStyle resolverStyle; field in DateTimeFormatter 1374 ResolverStyle resolverStyle, Set<TemporalField> resolverFields, in DateTimeFormatter() argument 1380 this.resolverStyle = Objects.requireNonNull(resolverStyle, "resolverStyle"); in DateTimeFormatter() 1413 …return new DateTimeFormatter(printerParser, locale, decimalStyle, resolverStyle, resolverFields, c… in withLocale() 1438 …return new DateTimeFormatter(printerParser, locale, decimalStyle, resolverStyle, resolverFields, c… in withDecimalStyle() 1492 …return new DateTimeFormatter(printerParser, locale, decimalStyle, resolverStyle, resolverFields, c… in withChronology() 1549 …return new DateTimeFormatter(printerParser, locale, decimalStyle, resolverStyle, resolverFields, c… in withZone() 1564 return resolverStyle; in getResolverStyle() 1586 public DateTimeFormatter withResolverStyle(ResolverStyle resolverStyle) { in withResolverStyle() argument 1587 Objects.requireNonNull(resolverStyle, "resolverStyle"); in withResolverStyle() [all …]
|
D | DateTimeParseContext.java | 327 TemporalAccessor toResolved(ResolverStyle resolverStyle, Set<TemporalField> resolverFields) { in toResolved() argument 331 return parsed.resolve(resolverStyle, resolverFields); in toResolved()
|
D | DateTimeFormatterBuilder.java | 2067 DateTimeFormatter toFormatter(ResolverStyle resolverStyle, Chronology chrono) { in toFormatter() argument 2068 return toFormatter(Locale.getDefault(Locale.Category.FORMAT), resolverStyle, chrono); in toFormatter() 2078 …private DateTimeFormatter toFormatter(Locale locale, ResolverStyle resolverStyle, Chronology chron… in toFormatter() argument 2085 resolverStyle, null, chrono, null); in toFormatter()
|
/libcore/ojluni/src/main/java/java/time/temporal/ |
D | WeekFields.java | 916 …<TemporalField, Long> fieldValues, TemporalAccessor partialTemporal, ResolverStyle resolverStyle) { in resolve() argument 944 … return resolveWoM(fieldValues, chrono, year, month, newValue, dow, resolverStyle); in resolve() 947 return resolveWoY(fieldValues, chrono, year, newValue, dow, resolverStyle); in resolve() 952 return resolveWBY(fieldValues, chrono, dow, resolverStyle); in resolve() 958 …es, Chronology chrono, int year, long month, long wom, int localDow, ResolverStyle resolverStyle) { in resolveWoM() argument 960 if (resolverStyle == ResolverStyle.LENIENT) { in resolveWoM() 972 if (resolverStyle == ResolverStyle.STRICT && date.getLong(MONTH_OF_YEAR) != month) { in resolveWoM() 984 …g> fieldValues, Chronology chrono, int year, long woy, int localDow, ResolverStyle resolverStyle) { in resolveWoY() argument 986 if (resolverStyle == ResolverStyle.LENIENT) { in resolveWoY() 995 if (resolverStyle == ResolverStyle.STRICT && date.getLong(YEAR) != year) { in resolveWoY() [all …]
|
D | JulianFields.java | 292 …<TemporalField, Long> fieldValues, TemporalAccessor partialTemporal, ResolverStyle resolverStyle) { in resolve() argument 295 if (resolverStyle == ResolverStyle.LENIENT) { in resolve()
|
D | IsoFields.java | 344 …<TemporalField, Long> fieldValues, TemporalAccessor partialTemporal, ResolverStyle resolverStyle) { in resolve() argument 354 if (resolverStyle == ResolverStyle.LENIENT) { in resolve() 361 if (resolverStyle == ResolverStyle.STRICT) { in resolve() 468 …<TemporalField, Long> fieldValues, TemporalAccessor partialTemporal, ResolverStyle resolverStyle) { in resolve() argument 478 if (resolverStyle == ResolverStyle.LENIENT) { in resolve() 491 if (resolverStyle == ResolverStyle.STRICT) { in resolve()
|
D | TemporalField.java | 377 ResolverStyle resolverStyle) { in resolve() argument
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKDateTimeParseResolver.java | 1159 …<TemporalField, Long> fieldValues, TemporalAccessor partialTemporal, ResolverStyle resolverStyle) { in resolve() argument
|