TimeManager.HomeTimeZone Property
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.
Returns the current home time zone.
public Java.Util.TimeZone? HomeTimeZone { [Android.Runtime.Register("getHomeTimeZone", "()Ljava/util/TimeZone;", "", ApiSince=37)] [Android.Runtime.RequiresPermission("android.permission.READ_HOME_TIME_ZONE")] get; }
[<get: Android.Runtime.Register("getHomeTimeZone", "()Ljava/util/TimeZone;", "", ApiSince=37)>]
[<get: Android.Runtime.RequiresPermission("android.permission.READ_HOME_TIME_ZONE")>]
member this.HomeTimeZone : Java.Util.TimeZone
Property Value
- Attributes
Remarks
Returns the current home time zone.
The returned value may be null if the home time zone is not set or if the home time zone is invalid. This API only supports Olson IDs (e.g. "Europe/London"). Requires Manifest.permission.READ_HOME_TIME_ZONE
Android reference for android.app.time.TimeManager.getHomeTimeZone.
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.