Udostępnij za pośrednictwem


DateFormatSymbols.GetZodiacNames(Int32, Int32) Method

Definition

Returns calendar zodiac name strings if the calendar has them, for example: "Rat", "Ox", "Tiger", etc.

[Android.Runtime.Register("getZodiacNames", "(II)[Ljava/lang/String;", "GetGetZodiacNames_IIHandler", ApiSince=24)]
public virtual string[]? GetZodiacNames (int context, int width);
[<Android.Runtime.Register("getZodiacNames", "(II)[Ljava/lang/String;", "GetGetZodiacNames_IIHandler", ApiSince=24)>]
abstract member GetZodiacNames : int * int -> string[]
override this.GetZodiacNames : int * int -> string[]

Parameters

context
Int32

The usage context: FORMAT, STANDALONE.

width
Int32

The requested name width: WIDE, ABBREVIATED, SHORT, NARROW.

Returns

String[]

The zodiac name strings, or null if they are not available for this calendar.

Attributes

Remarks

Returns calendar zodiac name strings if the calendar has them, for example: "Rat", "Ox", "Tiger", etc.

Java documentation for android.icu.text.DateFormatSymbols.getZodiacNames(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