Android Things uses three different APIs to control settings for the system time and available locales.
Setting the system time and format
Use class
TimeManager
to control different time-related settings, including the following:
- Time format (12-hour or 24-hour)
- Time zone
- Auto sync time from a Network Time Protocol (NTP) server
Setting the list of locales
Use class
DeviceManager
to control the list of locales available to
the device.