Lenguaje

DateIntervalFormat.FormatToValue Método

Definición

Sobrecargas

Nombre Description
FormatToValue(DateInterval)

Dar formato a dateInterval para generar un formattedDateInterval.

FormatToValue(Calendar, Calendar)

Dar formato a los calendarios 2 para generar un formattedDateInterval.

FormatToValue(ITemporal, ITemporal)

Dar formato a dos temporales para generar un formattedDateInterval.

FormatToValue(DateInterval)

Dar formato a dateInterval para generar un formattedDateInterval.

[Android.Runtime.Register("formatToValue", "(Landroid/icu/util/DateInterval;)Landroid/icu/text/DateIntervalFormat$FormattedDateInterval;", "GetFormatToValue_Landroid_icu_util_DateInterval_Handler", ApiSince=31)]
public virtual Android.Icu.Text.DateIntervalFormat.FormattedDateInterval? FormatToValue(Android.Icu.Util.DateInterval? dtInterval);
[<Android.Runtime.Register("formatToValue", "(Landroid/icu/util/DateInterval;)Landroid/icu/text/DateIntervalFormat$FormattedDateInterval;", "GetFormatToValue_Landroid_icu_util_DateInterval_Handler", ApiSince=31)>]
abstract member FormatToValue : Android.Icu.Util.DateInterval -> Android.Icu.Text.DateIntervalFormat.FormattedDateInterval
override this.FormatToValue : Android.Icu.Util.DateInterval -> Android.Icu.Text.DateIntervalFormat.FormattedDateInterval

Parámetros

dtInterval
DateInterval

DateInterval al que se va a dar formato.

Devoluciones

FormattedDateInterval que contiene el resultado de formato.

Atributos

Comentarios

Dar formato a dateInterval para generar un formattedDateInterval. FormattedDateInterval expone información de campo sobre la cadena con formato.

Referencia de Android para android.icu.text.DateIntervalFormat.formatToValue.

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a

FormatToValue(Calendar, Calendar)

Dar formato a los calendarios 2 para generar un formattedDateInterval.

[Android.Runtime.Register("formatToValue", "(Landroid/icu/util/Calendar;Landroid/icu/util/Calendar;)Landroid/icu/text/DateIntervalFormat$FormattedDateInterval;", "GetFormatToValue_Landroid_icu_util_Calendar_Landroid_icu_util_Calendar_Handler", ApiSince=31)]
public virtual Android.Icu.Text.DateIntervalFormat.FormattedDateInterval? FormatToValue(Android.Icu.Util.Calendar? fromCalendar, Android.Icu.Util.Calendar? toCalendar);
[<Android.Runtime.Register("formatToValue", "(Landroid/icu/util/Calendar;Landroid/icu/util/Calendar;)Landroid/icu/text/DateIntervalFormat$FormattedDateInterval;", "GetFormatToValue_Landroid_icu_util_Calendar_Landroid_icu_util_Calendar_Handler", ApiSince=31)>]
abstract member FormatToValue : Android.Icu.Util.Calendar * Android.Icu.Util.Calendar -> Android.Icu.Text.DateIntervalFormat.FormattedDateInterval
override this.FormatToValue : Android.Icu.Util.Calendar * Android.Icu.Util.Calendar -> Android.Icu.Text.DateIntervalFormat.FormattedDateInterval

Parámetros

fromCalendar
Calendar

calendar establecido en la fecha a partir de la fecha en el intervalo de fecha al que se va a dar formato a la cadena de intervalo de fecha

toCalendar
Calendar

calendar establecido en la fecha a fecha en el intervalo de fecha al que se va a dar formato a la cadena de intervalo de fecha

Devoluciones

FormattedDateInterval que contiene el resultado de formato.

Atributos

Comentarios

Dar formato a los calendarios 2 para generar un formattedDateInterval. FormattedDateInterval expone información de campo sobre la cadena con formato.

Referencia de Android para android.icu.text.DateIntervalFormat.formatToValue.

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a

FormatToValue(ITemporal, ITemporal)

Dar formato a dos temporales para generar un formattedDateInterval.

[Android.Runtime.Register("formatToValue", "(Ljava/time/temporal/Temporal;Ljava/time/temporal/Temporal;)Landroid/icu/text/DateIntervalFormat$FormattedDateInterval;", "GetFormatToValue_Ljava_time_temporal_Temporal_Ljava_time_temporal_Temporal_Handler", ApiSince=37)]
public virtual Android.Icu.Text.DateIntervalFormat.FormattedDateInterval? FormatToValue(Java.Time.Temporal.ITemporal? fromTemporal, Java.Time.Temporal.ITemporal? toTemporal);
[<Android.Runtime.Register("formatToValue", "(Ljava/time/temporal/Temporal;Ljava/time/temporal/Temporal;)Landroid/icu/text/DateIntervalFormat$FormattedDateInterval;", "GetFormatToValue_Ljava_time_temporal_Temporal_Ljava_time_temporal_Temporal_Handler", ApiSince=37)>]
abstract member FormatToValue : Java.Time.Temporal.ITemporal * Java.Time.Temporal.ITemporal -> Android.Icu.Text.DateIntervalFormat.FormattedDateInterval
override this.FormatToValue : Java.Time.Temporal.ITemporal * Java.Time.Temporal.ITemporal -> Android.Icu.Text.DateIntervalFormat.FormattedDateInterval

Parámetros

fromTemporal
ITemporal

temporal establecido en el inicio del intervalo al que se va a dar formato a una cadena

toTemporal
ITemporal

temporal establecido en el final del intervalo al que se va a dar formato a una cadena

Devoluciones

FormattedDateInterval que contiene el resultado de formato.

Atributos

Comentarios

Dar formato a dos temporales para generar un formattedDateInterval. FormattedDateInterval expone información de campo sobre la cadena con formato.

Referencia de Android para android.icu.text.DateIntervalFormat.formatToValue.

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a