Partager via


DateIntervalInfo.FallbackIntervalPattern Property

Definition

Get the fallback interval pattern. -or- Re-set the fallback interval pattern.

public virtual string? FallbackIntervalPattern { [Android.Runtime.Register("getFallbackIntervalPattern", "()Ljava/lang/String;", "GetGetFallbackIntervalPatternHandler", ApiSince=24)] get; [Android.Runtime.Register("setFallbackIntervalPattern", "(Ljava/lang/String;)V", "GetSetFallbackIntervalPattern_Ljava_lang_String_Handler", ApiSince=24)] set; }
[<get: Android.Runtime.Register("getFallbackIntervalPattern", "()Ljava/lang/String;", "GetGetFallbackIntervalPatternHandler", ApiSince=24)>]
[<set: Android.Runtime.Register("setFallbackIntervalPattern", "(Ljava/lang/String;)V", "GetSetFallbackIntervalPattern_Ljava_lang_String_Handler", ApiSince=24)>]
member this.FallbackIntervalPattern : string with get, set

Property Value

fallback interval pattern

Attributes

Remarks

Property getter documentation:

Get the fallback interval pattern.

Java documentation for android.icu.text.DateIntervalInfo.getFallbackIntervalPattern().

Property setter documentation:

Re-set the fallback interval pattern.

In construction, default fallback pattern is set as "{0} - {1}". And constructor taking locale as parameter will set the fallback pattern as what defined in the locale resource file.

This method provides a way for user to replace the fallback pattern.

Java documentation for android.icu.text.DateIntervalInfo.setFallbackIntervalPattern(java.lang.String).

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