Freigeben über


DateFormatSymbols.SetZodiacNames(String[], Int32, Int32) Method

Definition

Sets calendar zodiac name strings, for example: "Rat", "Ox", "Tiger", etc.

[Android.Runtime.Register("setZodiacNames", "([Ljava/lang/String;II)V", "GetSetZodiacNames_arrayLjava_lang_String_IIHandler", ApiSince=24)]
public virtual void SetZodiacNames (string[]? zodiacNames, int context, int width);
[<Android.Runtime.Register("setZodiacNames", "([Ljava/lang/String;II)V", "GetSetZodiacNames_arrayLjava_lang_String_IIHandler", ApiSince=24)>]
abstract member SetZodiacNames : string[] * int * int -> unit
override this.SetZodiacNames : string[] * int * int -> unit

Parameters

zodiacNames
String[]

The new zodiac 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 calendar zodiac name strings, for example: "Rat", "Ox", "Tiger", etc.

Java documentation for android.icu.text.DateFormatSymbols.setZodiacNames(java.lang.String[], 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.

Applies to