Class ShadowTimeZoneFinder


  • @Implements(className="libcore.util.TimeZoneFinder",
                minSdk=26,
                maxSdk=28,
                isInAndroidSdk=false,
                looseSignatures=true)
    public class ShadowTimeZoneFinder
    extends java.lang.Object
    Shadow of TimeZoneFinder for Android O and P.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      protected static java.lang.Object getInstance()  
      static java.lang.String readTzlookup()
      Reads tzlookup.xml from the files bundled inside android-all JARs.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ShadowTimeZoneFinder

        public ShadowTimeZoneFinder()
    • Method Detail

      • getInstance

        @Implementation
        protected static java.lang.Object getInstance()
      • readTzlookup

        public static java.lang.String readTzlookup()
        Reads tzlookup.xml from the files bundled inside android-all JARs. We need to read the file instead of passing in the path because the real implementation uses Paths which doesn't support reading from JARs.