DateTimeFormatterBuilder.ParseDefaulting(ITemporalField, Int64) 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.
Appends a default value for a date-time field to the formatter.
[Android.Runtime.Register("parseDefaulting", "(Ljava/time/temporal/TemporalField;J)Ljava/time/format/DateTimeFormatterBuilder;", "", ApiSince=26)]
public Java.Time.Format.DateTimeFormatterBuilder? ParseDefaulting(Java.Time.Temporal.ITemporalField? field, long value);
[<Android.Runtime.Register("parseDefaulting", "(Ljava/time/temporal/TemporalField;J)Ljava/time/format/DateTimeFormatterBuilder;", "", ApiSince=26)>]
member this.ParseDefaulting : Java.Time.Temporal.ITemporalField * int64 -> Java.Time.Format.DateTimeFormatterBuilder
Parameters
- field
- ITemporalField
the field to default, not null
- value
- Int64
the value to default the field to
Returns
this, for chaining, not null
- Attributes
Remarks
The default is applied during parsing when the field has not otherwise been parsed.