DateFormatSymbols.SetYearNames(String[], Int32, 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.
Sets cyclic year name strings, for example: "jia-zi", "yi-chou", etc.
[Android.Runtime.Register("setYearNames", "([Ljava/lang/String;II)V", "GetSetYearNames_arrayLjava_lang_String_IIHandler", ApiSince=24)]
public virtual void SetYearNames (string[]? yearNames, int context, int width);
[<Android.Runtime.Register("setYearNames", "([Ljava/lang/String;II)V", "GetSetYearNames_arrayLjava_lang_String_IIHandler", ApiSince=24)>]
abstract member SetYearNames : string[] * int * int -> unit
override this.SetYearNames : string[] * int * int -> unit
Parameters
- yearNames
- String[]
The new cyclic year name strings.
- context
- Int32
The usage context: FORMAT, STANDALONE (currently only FORMAT is supported).
- width
- Int32
The name width: WIDE, ABBREVIATED, NARROW (currently only ABBREVIATED is supported).
- Attributes
Remarks
Sets cyclic year name strings, for example: "jia-zi", "yi-chou", etc.
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.