Period.Normalized Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a copy of this period with the years and months normalized.
[Android.Runtime.Register("normalized", "()Ljava/time/Period;", "", ApiSince=26)]
public Java.Time.Chrono.IChronoPeriod? Normalized();
[<Android.Runtime.Register("normalized", "()Ljava/time/Period;", "", ApiSince=26)>]
abstract member Normalized : unit -> Java.Time.Chrono.IChronoPeriod
override this.Normalized : unit -> Java.Time.Chrono.IChronoPeriod
Returns
a Period based on this period with excess months normalized to years, not null
Implements
- Attributes
Remarks
Returns a copy of this period with the years and months normalized. This normalizes the years and months units, leaving the days unit unchanged. The months unit is adjusted to have an absolute value less than 12, with the years unit being adjusted to compensate. For example, a period of "1 Year and 15 months" will be normalized to "2 years and 3 months". The sign of the years and months units will be the same after normalization. For example, a period of "1 year and -25 months" will be normalized to "-1 year and -1 month". This instance is immutable and unaffected by this method call.
Java reference for java.time.Period.normalized.