共用方式為


YearMonth.With Method

Definition

Overloads

With(ITemporalAdjuster)
With(ITemporalField, Int64)

With(ITemporalAdjuster)

[Android.Runtime.Register("with", "(Ljava/time/temporal/TemporalAdjuster;)Ljava/time/YearMonth;", "", ApiSince=26)]
public Java.Time.YearMonth? With (Java.Time.Temporal.ITemporalAdjuster? adjuster);
[<Android.Runtime.Register("with", "(Ljava/time/temporal/TemporalAdjuster;)Ljava/time/YearMonth;", "", ApiSince=26)>]
member this.With : Java.Time.Temporal.ITemporalAdjuster -> Java.Time.YearMonth

Parameters

Returns

Attributes

Applies to

With(ITemporalField, Int64)

[Android.Runtime.Register("with", "(Ljava/time/temporal/TemporalField;J)Ljava/time/YearMonth;", "", ApiSince=26)]
public Java.Time.Temporal.ITemporal? With (Java.Time.Temporal.ITemporalField? field, long newValue);
[<Android.Runtime.Register("with", "(Ljava/time/temporal/TemporalField;J)Ljava/time/YearMonth;", "", ApiSince=26)>]
abstract member With : Java.Time.Temporal.ITemporalField * int64 -> Java.Time.Temporal.ITemporal
override this.With : Java.Time.Temporal.ITemporalField * int64 -> Java.Time.Temporal.ITemporal

Parameters

newValue
Int64

Returns

Implements

Attributes

Applies to