Lingua

DateIntervalFormat.FormatToValue Metodo

Definizione

Overload

Nome Descrizione
FormatToValue(DateInterval)

Formattare un valore DateInterval per produrre un oggetto FormattedDateInterval.

FormatToValue(Calendar, Calendar)

Formattare 2 calendari per produrre un oggetto FormattedDateInterval.

FormatToValue(DateInterval)

Formattare un valore DateInterval per produrre un oggetto 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

Parametri

dtInterval
DateInterval

DateInterval da formattare.

Valori restituiti

FormattedDateInterval contenente il risultato del formato.

Attributi

Commenti

Formattare un valore DateInterval per produrre un oggetto FormattedDateInterval. FormattedDateInterval espone informazioni sul campo sulla stringa formattata.

Informazioni di riferimento su Android per android.icu.text.DateIntervalFormat.formatToValue.

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a

FormatToValue(Calendar, Calendar)

Formattare 2 calendari per produrre un oggetto 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

Parametri

fromCalendar
Calendar

calendario impostato sulla data nell'intervallo di date da formattare nella stringa dell'intervallo di date

toCalendar
Calendar

calendario impostato sulla data nell'intervallo di date da formattare nella stringa dell'intervallo di date

Valori restituiti

FormattedDateInterval contenente il risultato del formato.

Attributi

Commenti

Formattare 2 calendari per produrre un oggetto FormattedDateInterval. FormattedDateInterval espone informazioni sul campo sulla stringa formattata.

Informazioni di riferimento su Android per android.icu.text.DateIntervalFormat.formatToValue.

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a