DateTimeFormatter.WithDecimalStyle(DecimalStyle) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a copy of this formatter with a new DecimalStyle.
[Android.Runtime.Register("withDecimalStyle", "(Ljava/time/format/DecimalStyle;)Ljava/time/format/DateTimeFormatter;", "", ApiSince=26)]
public Java.Time.Format.DateTimeFormatter? WithDecimalStyle (Java.Time.Format.DecimalStyle? decimalStyle);
[<Android.Runtime.Register("withDecimalStyle", "(Ljava/time/format/DecimalStyle;)Ljava/time/format/DateTimeFormatter;", "", ApiSince=26)>]
member this.WithDecimalStyle : Java.Time.Format.DecimalStyle -> Java.Time.Format.DateTimeFormatter
Parameters
- decimalStyle
- DecimalStyle
the new DecimalStyle, not null
Returns
a formatter based on this formatter with the requested DecimalStyle, not null
- Attributes
Remarks
Returns a copy of this formatter with a new DecimalStyle.
This instance is immutable and unaffected by this method call.
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.