Share via


ITemporalField.Resolve Method

Definition

Resolves this field to provide a simpler alternative or a date.

[Android.Runtime.Register("resolve", "(Ljava/util/Map;Ljava/time/temporal/TemporalAccessor;Ljava/time/format/ResolverStyle;)Ljava/time/temporal/TemporalAccessor;", "GetResolve_Ljava_util_Map_Ljava_time_temporal_TemporalAccessor_Ljava_time_format_ResolverStyle_Handler:Java.Time.Temporal.ITemporalField, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)]
public virtual Java.Time.Temporal.ITemporalAccessor? Resolve (System.Collections.Generic.IDictionary<Java.Time.Temporal.ITemporalField,Java.Lang.Long>? fieldValues, Java.Time.Temporal.ITemporalAccessor? partialTemporal, Java.Time.Format.ResolverStyle? resolverStyle);
[<Android.Runtime.Register("resolve", "(Ljava/util/Map;Ljava/time/temporal/TemporalAccessor;Ljava/time/format/ResolverStyle;)Ljava/time/temporal/TemporalAccessor;", "GetResolve_Ljava_util_Map_Ljava_time_temporal_TemporalAccessor_Ljava_time_format_ResolverStyle_Handler:Java.Time.Temporal.ITemporalField, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)>]
abstract member Resolve : System.Collections.Generic.IDictionary<Java.Time.Temporal.ITemporalField, Java.Lang.Long> * Java.Time.Temporal.ITemporalAccessor * Java.Time.Format.ResolverStyle -> Java.Time.Temporal.ITemporalAccessor
override this.Resolve : System.Collections.Generic.IDictionary<Java.Time.Temporal.ITemporalField, Java.Lang.Long> * Java.Time.Temporal.ITemporalAccessor * Java.Time.Format.ResolverStyle -> Java.Time.Temporal.ITemporalAccessor

Parameters

fieldValues
IDictionary<ITemporalField,Long>

the map of fields to values, which can be updated, not null

partialTemporal
ITemporalAccessor

the partially complete temporal to query for zone and chronology; querying for other things is undefined and not recommended, not null

resolverStyle
ResolverStyle

the requested type of resolve, not null

Returns

the resolved temporal object; null if resolving only changed the map, or no resolve occurred

Attributes

Remarks

Resolves this field to provide a simpler alternative or a date.

This method is invoked during the resolve phase of parsing. It is designed to allow application defined fields to be simplified into more standard fields, such as those on ChronoField, or into a date.

Applications should not normally invoke this method directly.

Java documentation for java.time.temporal.TemporalField.resolve(java.util.Map<java.time.temporal.TemporalField, java.lang.Long>, java.time.temporal.TemporalAccessor, java.time.format.ResolverStyle).

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