RelativeDateTimeFormatter.FormatToValue 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
FormatToValue(Double, RelativeDateTimeFormatter+RelativeDateTimeUnit)
[Android.Runtime.Register("formatToValue", "(DLandroid/icu/text/RelativeDateTimeFormatter$RelativeDateTimeUnit;)Landroid/icu/text/RelativeDateTimeFormatter$FormattedRelativeDateTime;", "", ApiSince=31)]
public Android.Icu.Text.RelativeDateTimeFormatter.FormattedRelativeDateTime? FormatToValue (double offset, Android.Icu.Text.RelativeDateTimeFormatter.RelativeDateTimeUnit? unit);
[<Android.Runtime.Register("formatToValue", "(DLandroid/icu/text/RelativeDateTimeFormatter$RelativeDateTimeUnit;)Landroid/icu/text/RelativeDateTimeFormatter$FormattedRelativeDateTime;", "", ApiSince=31)>]
member this.FormatToValue : double * Android.Icu.Text.RelativeDateTimeFormatter.RelativeDateTimeUnit -> Android.Icu.Text.RelativeDateTimeFormatter.FormattedRelativeDateTime
Parameters
- offset
- Double
Returns
- Attributes
Applies to
FormatToValue(Double, RelativeDateTimeFormatter+Direction, RelativeDateTimeFormatter+RelativeUnit)
[Android.Runtime.Register("formatToValue", "(DLandroid/icu/text/RelativeDateTimeFormatter$Direction;Landroid/icu/text/RelativeDateTimeFormatter$RelativeUnit;)Landroid/icu/text/RelativeDateTimeFormatter$FormattedRelativeDateTime;", "", ApiSince=31)]
public Android.Icu.Text.RelativeDateTimeFormatter.FormattedRelativeDateTime? FormatToValue (double quantity, Android.Icu.Text.RelativeDateTimeFormatter.Direction? direction, Android.Icu.Text.RelativeDateTimeFormatter.RelativeUnit? unit);
[<Android.Runtime.Register("formatToValue", "(DLandroid/icu/text/RelativeDateTimeFormatter$Direction;Landroid/icu/text/RelativeDateTimeFormatter$RelativeUnit;)Landroid/icu/text/RelativeDateTimeFormatter$FormattedRelativeDateTime;", "", ApiSince=31)>]
member this.FormatToValue : double * Android.Icu.Text.RelativeDateTimeFormatter.Direction * Android.Icu.Text.RelativeDateTimeFormatter.RelativeUnit -> Android.Icu.Text.RelativeDateTimeFormatter.FormattedRelativeDateTime
Parameters
- quantity
- Double
- direction
- RelativeDateTimeFormatter.Direction
Returns
- Attributes
Applies to
FormatToValue(RelativeDateTimeFormatter+Direction, RelativeDateTimeFormatter+AbsoluteUnit)
[Android.Runtime.Register("formatToValue", "(Landroid/icu/text/RelativeDateTimeFormatter$Direction;Landroid/icu/text/RelativeDateTimeFormatter$AbsoluteUnit;)Landroid/icu/text/RelativeDateTimeFormatter$FormattedRelativeDateTime;", "", ApiSince=31)]
public Android.Icu.Text.RelativeDateTimeFormatter.FormattedRelativeDateTime? FormatToValue (Android.Icu.Text.RelativeDateTimeFormatter.Direction? direction, Android.Icu.Text.RelativeDateTimeFormatter.AbsoluteUnit? unit);
[<Android.Runtime.Register("formatToValue", "(Landroid/icu/text/RelativeDateTimeFormatter$Direction;Landroid/icu/text/RelativeDateTimeFormatter$AbsoluteUnit;)Landroid/icu/text/RelativeDateTimeFormatter$FormattedRelativeDateTime;", "", ApiSince=31)>]
member this.FormatToValue : Android.Icu.Text.RelativeDateTimeFormatter.Direction * Android.Icu.Text.RelativeDateTimeFormatter.AbsoluteUnit -> Android.Icu.Text.RelativeDateTimeFormatter.FormattedRelativeDateTime
Parameters
- direction
- RelativeDateTimeFormatter.Direction
Returns
- Attributes