Package | Description |
---|---|
java.time.chrono |
Generic API for calendar systems other than the default ISO.
|
java.time.format |
Provides classes to print and parse dates and times.
|
java.time.temporal |
Access to date and time using fields and units, and date time adjusters.
|
Modifier and Type | Method and Description |
---|---|
LocalDate |
IsoChronology.resolveDate(Map<TemporalField,Long> fieldValues,
ResolverStyle resolverStyle)
Resolves parsed
ChronoField values into a date during parsing. |
ChronoLocalDate |
AbstractChronology.resolveDate(Map<TemporalField,Long> fieldValues,
ResolverStyle resolverStyle)
Resolves parsed
ChronoField values into a date during parsing. |
ChronoLocalDate |
Chronology.resolveDate(Map<TemporalField,Long> fieldValues,
ResolverStyle resolverStyle)
Resolves parsed
ChronoField values into a date during parsing. |
ThaiBuddhistDate |
ThaiBuddhistChronology.resolveDate(Map<TemporalField,Long> fieldValues,
ResolverStyle resolverStyle) |
JapaneseDate |
JapaneseChronology.resolveDate(Map<TemporalField,Long> fieldValues,
ResolverStyle resolverStyle) |
MinguoDate |
MinguoChronology.resolveDate(Map<TemporalField,Long> fieldValues,
ResolverStyle resolverStyle) |
HijrahDate |
HijrahChronology.resolveDate(Map<TemporalField,Long> fieldValues,
ResolverStyle resolverStyle) |
Modifier and Type | Method and Description |
---|---|
ResolverStyle |
DateTimeFormatter.getResolverStyle()
Gets the resolver style to use during parsing.
|
static ResolverStyle |
ResolverStyle.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResolverStyle[] |
ResolverStyle.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
DateTimeFormatter |
DateTimeFormatter.withResolverStyle(ResolverStyle resolverStyle)
Returns a copy of this formatter with a new resolver style.
|
Modifier and Type | Method and Description |
---|---|
default TemporalAccessor |
TemporalField.resolve(Map<TemporalField,Long> fieldValues,
TemporalAccessor partialTemporal,
ResolverStyle resolverStyle)
Resolves this field to provide a simpler alternative or a date.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved.