DateTimeFormatter.ResolverStyle Property

Definition

Gets the resolver style to use during parsing.

public Java.Time.Format.ResolverStyle? ResolverStyle { [Android.Runtime.Register("getResolverStyle", "()Ljava/time/format/ResolverStyle;", "", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getResolverStyle", "()Ljava/time/format/ResolverStyle;", "", ApiSince=26)>]
member this.ResolverStyle : Java.Time.Format.ResolverStyle

Property Value

the resolver style of this formatter, not null

Attributes

Remarks

Gets the resolver style to use during parsing.

This returns the resolver style, used during the second phase of parsing when fields are resolved into dates and times. By default, a formatter has the ResolverStyle#SMART SMART resolver style. See #withResolverStyle(ResolverStyle) for more details.

Java documentation for java.time.format.DateTimeFormatter.getResolverStyle().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to