find Android Timezone ID
Find the best matching Android (= available in system and Java timezone registry) time zone ID for a given arbitrary time zone ID:
Use a case-insensitive match ("EUROPE/VIENNA" will return "Europe/Vienna", assuming "Europe/Vienna") is available in Android.
Find partial matches (case-sensitive) in both directions, so both "Vienna" and "MyClient: Europe/Vienna" will return "Europe/Vienna". This shouln't be case-insensitive, because that would for instance return "EST" for "Westeuropäische Sommerzeit".
If nothing can be found or tzID is
null
, return the system default time zone.
Return
best matching Android time zone ID
Parameters
tz ID
time zone ID to be converted into Android time zone ID