Share via


DateFormat.FractionalSecondField Field

Definition

Caution

This constant will be removed in the future version. Use Android.Icu.Text.DateFormatField enum directly instead of this field.

<strong>[icu]</strong> FieldPosition selector for 'S' field alignment, corresponding to the Calendar#MILLISECOND field.

[Android.Runtime.Register("FRACTIONAL_SECOND_FIELD", ApiSince=24)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Icu.Text.DateFormatField enum directly instead of this field.", true)]
public const Android.Icu.Text.DateFormatField FractionalSecondField = 8;
[<Android.Runtime.Register("FRACTIONAL_SECOND_FIELD", ApiSince=24)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Icu.Text.DateFormatField enum directly instead of this field.", true)>]
val mutable FractionalSecondField : Android.Icu.Text.DateFormatField

Field Value

Value = 8
Attributes

Remarks

<strong>[icu]</strong> FieldPosition selector for 'S' field alignment, corresponding to the Calendar#MILLISECOND field.

Note: Time formats that use 'S' can display a maximum of three significant digits for fractional seconds, corresponding to millisecond resolution and a fractional seconds sub-pattern of SSS. If the sub-pattern is S or SS, the fractional seconds value will be truncated (not rounded) to the number of display places specified. If the fractional seconds sub-pattern is longer than SSS, the additional display places will be filled with zeros.

Java documentation for android.icu.text.DateFormat.FRACTIONAL_SECOND_FIELD.

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