ITemporalField.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;", "GetGetBaseUnitHandler:Java.Time.Temporal.ITemporalFieldInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getBaseUnit", "()Ljava/time/temporal/TemporalUnit;", "GetGetBaseUnitHandler:Java.Time.Temporal.ITemporalFieldInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)>]
member this.BaseUnit : Java.Time.Temporal.ITemporalUnit
Property Value
the unit defining the base unit of the field, not null
- 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 getRangeUnit().
Java documentation for java.time.temporal.TemporalField.getBaseUnit().
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.