다음을 통해 공유


Year.With 메서드

정의

오버로드

With(ITemporalField, Int64)
With(ITemporalAdjuster)

With(ITemporalField, Int64)

[Android.Runtime.Register("with", "(Ljava/time/temporal/TemporalField;J)Ljava/time/Year;", "", 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/Year;", "", 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

매개 변수

newValue
Int64

반환

구현

특성

적용 대상

With(ITemporalAdjuster)

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

매개 변수

반환

특성

적용 대상