TimeManager


class TimeManager
kotlin.Any
   ↳ android.app.time.TimeManager

The system service through which system components can interact with time and time zone services.

Summary

Public methods
TimeZone?

Returns the current home time zone.

Public methods

getHomeTimeZone

fun getHomeTimeZone(): TimeZone?

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 android.Manifest.permission#READ_HOME_TIME_ZONE