Freigeben über


DateTimePatternGenerator.Decimal Property

Definition

Getter corresponding to setDecimal. -or- The decimal value is used in formatting fractions of seconds.

public virtual string? Decimal { [Android.Runtime.Register("getDecimal", "()Ljava/lang/String;", "GetGetDecimalHandler", ApiSince=24)] get; [Android.Runtime.Register("setDecimal", "(Ljava/lang/String;)V", "GetSetDecimal_Ljava_lang_String_Handler", ApiSince=24)] set; }
[<get: Android.Runtime.Register("getDecimal", "()Ljava/lang/String;", "GetGetDecimalHandler", ApiSince=24)>]
[<set: Android.Runtime.Register("setDecimal", "(Ljava/lang/String;)V", "GetSetDecimal_Ljava_lang_String_Handler", ApiSince=24)>]
member this.Decimal : string with get, set

Property Value

string corresponding to the decimal point

Attributes

Remarks

Property getter documentation:

Getter corresponding to setDecimal.

Java documentation for android.icu.text.DateTimePatternGenerator.getDecimal().

Property setter documentation:

The decimal value is used in formatting fractions of seconds. If the skeleton contains fractional seconds, then this is used with the fractional seconds. For example, suppose that the input pattern is "hhmmssSSSS", and the best matching pattern internally is "H:mm:ss", and the decimal string is ",". Then the resulting pattern is modified to be "H:mm:ss,SSSS"

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