ChronoField.BaseUnit Property
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.
Gets the unit that the field is measured in.
public Java.Time.Temporal.ITemporalUnit? BaseUnit { [Android.Runtime.Register("getBaseUnit", "()Ljava/time/temporal/TemporalUnit;", "", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getBaseUnit", "()Ljava/time/temporal/TemporalUnit;", "", ApiSince=26)>]
member this.BaseUnit : Java.Time.Temporal.ITemporalUnit
Property Value
the unit defining the base unit of the field, not null
Implements
- Attributes
Remarks
Gets the unit that the field is measured in. The unit of the field is the period that varies within the range. For example, in the field 'MonthOfYear', the unit is 'Months'. See also TemporalField.getRangeUnit().
Java reference for java.time.temporal.ChronoField.getBaseUnit.