Language

MonthDay.Query(ITemporalQuery) Method

Definition

Queries this month-day using the specified query.

[Android.Runtime.Register("query", "(Ljava/time/temporal/TemporalQuery;)Ljava/lang/Object;", "", ApiSince=26)]
[Java.Interop.JavaTypeParameters(new System.String[] { "R" })]
public Java.Lang.Object? Query(Java.Time.Temporal.ITemporalQuery? query);
[<Android.Runtime.Register("query", "(Ljava/time/temporal/TemporalQuery;)Ljava/lang/Object;", "", ApiSince=26)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "R" })>]
abstract member Query : Java.Time.Temporal.ITemporalQuery -> Java.Lang.Object
override this.Query : Java.Time.Temporal.ITemporalQuery -> Java.Lang.Object

Parameters

query
ITemporalQuery

the query to invoke, not null

Returns

the query result, null may be returned (defined by the query)

Implements

Attributes

Remarks

Queries this month-day using the specified query. This queries this month-day using the specified query strategy object. The TemporalQuery object defines the logic to be used to obtain the result. Read the documentation of the query to understand what the result of this method will be. The chronology query returns the ISO chronology. The zone ID and precision queries return null. For other queries, this method invokes TemporalQuery.queryFrom(TemporalAccessor) on the query, passing this as the argument.

Java reference for java.time.MonthDay.query.

Applies to