Calendar.InternalSet(CalendarField, Int32) 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.
Set a field to a value.
[Android.Runtime.Register("internalSet", "(II)V", "", ApiSince=24)]
protected void InternalSet (Android.Icu.Util.CalendarField field, int value);
[<Android.Runtime.Register("internalSet", "(II)V", "", ApiSince=24)>]
member this.InternalSet : Android.Icu.Util.CalendarField * int -> unit
Parameters
- field
- CalendarField
- value
- Int32
- Attributes
Remarks
Set a field to a value. Subclasses should use this method when computing fields. It sets the time stamp in the stamp[]
array to INTERNALLY_SET
. If a field that may not be set by subclasses is passed in, an IllegalArgumentException
is thrown. This prevents subclasses from modifying fields that are intended to be calendar-system invariant.
Java documentation for android.icu.util.Calendar.internalSet(int, int)
.
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.