Udostępnij za pośrednictwem


IChronoPeriod.Normalized Method

Definition

Returns a copy of this period with the amounts of each unit normalized.

[Android.Runtime.Register("normalized", "()Ljava/time/chrono/ChronoPeriod;", "GetNormalizedHandler:Java.Time.Chrono.IChronoPeriodInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)]
public Java.Time.Chrono.IChronoPeriod? Normalized ();
[<Android.Runtime.Register("normalized", "()Ljava/time/chrono/ChronoPeriod;", "GetNormalizedHandler:Java.Time.Chrono.IChronoPeriodInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)>]
abstract member Normalized : unit -> Java.Time.Chrono.IChronoPeriod

Returns

a ChronoPeriod based on this period with the amounts of each unit normalized, not null

Attributes

Remarks

Returns a copy of this period with the amounts of each unit normalized.

The process of normalization is specific to each calendar system. For example, in the ISO calendar system, the years and months are normalized but the days are not, such that "15 months" would be normalized to "1 year and 3 months".

This instance is immutable and unaffected by this method call.

Java documentation for java.time.chrono.ChronoPeriod.normalized().

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