語言

DateFormatSymbols.GetZodiacNames(Int32, Int32) 方法

定義

如果曆法中有黃道帶名稱串,例如:「老鼠」、「牛」、「老虎」等,會回傳。

[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[]

參數

context
Int32

使用上下文:格式,獨立。

width
Int32

所要求的名稱寬度:寬、簡稱、短、窄。

傳回

String[]

黃道帶名稱串,若本曆無法使用則為空。

屬性

備註

如果曆法中有黃道帶名稱串,例如:「老鼠」、「牛」、「老虎」等,會回傳。

Java 文件 android.icu.text.DateFormatSymbols.getZodiacNames(int, int)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於