DateTimeFormatterBuilder.AppendValueReduced 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.
Overloads
| Name | Description |
|---|---|
| AppendValueReduced(ITemporalField, Int32, Int32, IChronoLocalDate) |
Appends the reduced value of a date-time field to the formatter. |
| AppendValueReduced(ITemporalField, Int32, Int32, Int32) |
Appends the reduced value of a date-time field to the formatter. |
AppendValueReduced(ITemporalField, Int32, Int32, IChronoLocalDate)
Appends the reduced value of a date-time field to the formatter.
[Android.Runtime.Register("appendValueReduced", "(Ljava/time/temporal/TemporalField;IILjava/time/chrono/ChronoLocalDate;)Ljava/time/format/DateTimeFormatterBuilder;", "", ApiSince=26)]
public Java.Time.Format.DateTimeFormatterBuilder? AppendValueReduced(Java.Time.Temporal.ITemporalField? field, int width, int maxWidth, Java.Time.Chrono.IChronoLocalDate? baseDate);
[<Android.Runtime.Register("appendValueReduced", "(Ljava/time/temporal/TemporalField;IILjava/time/chrono/ChronoLocalDate;)Ljava/time/format/DateTimeFormatterBuilder;", "", ApiSince=26)>]
member this.AppendValueReduced : Java.Time.Temporal.ITemporalField * int * int * Java.Time.Chrono.IChronoLocalDate -> Java.Time.Format.DateTimeFormatterBuilder
Parameters
- field
- ITemporalField
the field to append, not null
- width
- Int32
the width of the reduced value, from one to ten
- maxWidth
- Int32
the maximum width of the reduced value, from width to ten
- baseDate
- IChronoLocalDate
the base date for calculating the base value, not null
Returns
this, for chaining, not null
- Attributes
Remarks
The base date is used to determine the base value for the field.
Applies to
AppendValueReduced(ITemporalField, Int32, Int32, Int32)
Appends the reduced value of a date-time field to the formatter.
[Android.Runtime.Register("appendValueReduced", "(Ljava/time/temporal/TemporalField;III)Ljava/time/format/DateTimeFormatterBuilder;", "", ApiSince=26)]
public Java.Time.Format.DateTimeFormatterBuilder? AppendValueReduced(Java.Time.Temporal.ITemporalField? field, int width, int maxWidth, int baseValue);
[<Android.Runtime.Register("appendValueReduced", "(Ljava/time/temporal/TemporalField;III)Ljava/time/format/DateTimeFormatterBuilder;", "", ApiSince=26)>]
member this.AppendValueReduced : Java.Time.Temporal.ITemporalField * int * int * int -> Java.Time.Format.DateTimeFormatterBuilder
Parameters
- field
- ITemporalField
the field to append, not null
- width
- Int32
the width of the reduced value, from one to ten
- maxWidth
- Int32
the maximum width of the reduced value, from width to ten
- baseValue
- Int32
the base value for the field
Returns
this, for chaining, not null
- Attributes
Remarks
The base value defines the first value in the range of reduced values.