Langue

DateIntervalFormat.FormatToValue Méthode

Définition

Surcharges

Nom Description
FormatToValue(DateInterval)

Mettez en forme un DateInterval pour produire un FormattedDateInterval.

FormatToValue(Calendar, Calendar)

Format 2 Calendriers pour produire un FormattedDateInterval.

FormatToValue(ITemporal, ITemporal)

Mettez en forme deux temporals pour produire un FormattedDateInterval.

FormatToValue(DateInterval)

Mettez en forme un DateInterval pour produire 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

Paramètres

dtInterval
DateInterval

DateInterval à mettre en forme.

Retours

FormattedDateInterval contenant le résultat du format.

Attributs

Remarques

Mettez en forme un DateInterval pour produire un FormattedDateInterval. FormattedDateInterval expose les informations de champ sur la chaîne mise en forme.

Référence Android pour android.icu.text.DateIntervalFormat.formatToValue.

Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.

S’applique à

FormatToValue(Calendar, Calendar)

Format 2 Calendriers pour produire 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

Paramètres

fromCalendar
Calendar

calendrier défini sur la date dans l’intervalle de date à mettre en forme dans la chaîne d’intervalle de date

toCalendar
Calendar

calendrier défini sur la date dans l’intervalle de date à mettre en forme dans la chaîne d’intervalle de date

Retours

FormattedDateInterval contenant le résultat du format.

Attributs

Remarques

Format 2 Calendriers pour produire un FormattedDateInterval. FormattedDateInterval expose les informations de champ sur la chaîne mise en forme.

Référence Android pour android.icu.text.DateIntervalFormat.formatToValue.

Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.

S’applique à

FormatToValue(ITemporal, ITemporal)

Mettez en forme deux temporals pour produire 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

Paramètres

fromTemporal
ITemporal

temporelle définie sur le début de l’intervalle à mettre en forme dans une chaîne

toTemporal
ITemporal

temporelle définie sur la fin de l’intervalle à mettre en forme dans une chaîne

Retours

FormattedDateInterval contenant le résultat du format.

Attributs

Remarques

Mettez en forme deux temporals pour produire un FormattedDateInterval. FormattedDateInterval expose les informations de champ sur la chaîne mise en forme.

Référence Android pour android.icu.text.DateIntervalFormat.formatToValue.

Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.

S’applique à