ResolverStyle

public final enum ResolverStyle
extends Enum<ResolverStyle>

java.lang.Object
   ↳ java.lang.Enum<java.time.format.ResolverStyle>
     ↳ java.time.format.ResolverStyle


Enumeration of different ways to resolve dates and times.

Parsing a text string occurs in two phases. Phase 1 is a basic text parse according to the fields added to the builder. Phase 2 resolves the parsed field-value pairs into date and/or time objects. This style is used to control how phase 2, resolving, happens.

Summary

Enum values

ResolverStyle  LENIENT

Style to resolve dates and times leniently. 

ResolverStyle  SMART

Style to resolve dates and times in a smart, or intelligent, manner. 

ResolverStyle  STRICT

Style to resolve dates and times strictly. 

Public methods

static ResolverStyle valueOf(String name)
static final ResolverStyle[] values()

Inherited methods