AbstractChronology.CalendarType 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得由 CLDR 和 LDML 定義的日曆系統類型。
public abstract string? CalendarType { [Android.Runtime.Register("getCalendarType", "()Ljava/lang/String;", "GetGetCalendarTypeHandler", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getCalendarType", "()Ljava/lang/String;", "GetGetCalendarTypeHandler", ApiSince=26)>]
member this.CalendarType : string
屬性值
日曆類型,或 null 若 CLDR 與 LDML 未定義此日曆。
實作
- 屬性
備註
此性質實 CalendarType作 。 該型別包含 CLDR 日曆型別,並在存在時,還會有一個以連字號分隔的變體。 它可以用來查詢時間順序。
行事曆類型與時間順序 ID 是不同的識別碼。 例如,ISO 年表有 ID ISO 和行事曆類型 iso8601。
Java 參考 java.time.chrono.Chronology.getCalendarType。