Partager via


DateIntervalFormat.TimeZone Property

Definition

Get the TimeZone -or- Set the TimeZone for the calendar used by this DateIntervalFormat object.

public virtual Android.Icu.Util.TimeZone? TimeZone { [Android.Runtime.Register("getTimeZone", "()Landroid/icu/util/TimeZone;", "GetGetTimeZoneHandler", ApiSince=24)] get; [Android.Runtime.Register("setTimeZone", "(Landroid/icu/util/TimeZone;)V", "GetSetTimeZone_Landroid_icu_util_TimeZone_Handler", ApiSince=24)] set; }
[<get: Android.Runtime.Register("getTimeZone", "()Landroid/icu/util/TimeZone;", "GetGetTimeZoneHandler", ApiSince=24)>]
[<set: Android.Runtime.Register("setTimeZone", "(Landroid/icu/util/TimeZone;)V", "GetSetTimeZone_Landroid_icu_util_TimeZone_Handler", ApiSince=24)>]
member this.TimeZone : Android.Icu.Util.TimeZone with get, set

Property Value

A copy of the TimeZone associated with this date interval formatter.

Attributes

Remarks

Property getter documentation:

Get the TimeZone

Java documentation for android.icu.text.DateIntervalFormat.getTimeZone().

Property setter documentation:

Set the TimeZone for the calendar used by this DateIntervalFormat object.

Java documentation for android.icu.text.DateIntervalFormat.setTimeZone(android.icu.util.TimeZone).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to