DateFormat.CalendarLenient 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳封裝日曆物件中日期/時間解析是否寬鬆。 -或- 指定封裝式日曆物件中日期/時間解析是否應寬鬆。
public virtual bool CalendarLenient { [Android.Runtime.Register("isCalendarLenient", "()Z", "GetIsCalendarLenientHandler", ApiSince=24)] get; [Android.Runtime.Register("setCalendarLenient", "(Z)V", "GetSetCalendarLenient_ZHandler", ApiSince=24)] set; }
[<get: Android.Runtime.Register("isCalendarLenient", "()Z", "GetIsCalendarLenientHandler", ApiSince=24)>]
[<set: Android.Runtime.Register("setCalendarLenient", "(Z)V", "GetSetCalendarLenient_ZHandler", ApiSince=24)>]
member this.CalendarLenient : bool with get, set
屬性值
這個格式制定者行事曆的寬鬆設定。
- 屬性
備註
財產取得者文件:
回傳封裝日曆物件中日期/時間解析是否寬鬆。
Java 文件 android.icu.text.DateFormat.isCalendarLenient()。
屬性設定文件:
規定封裝中的日曆物件中日期/時間解析是否應寬鬆。 在較寬鬆的解析下,解析器可能會利用啟發式解讀與該物件格式不完全相符的輸入。 若無法寬鬆解析,輸入必須更接近該物件的格式。
Java 文件 android.icu.text.DateFormat.setCalendarLenient(boolean)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。