Package org.robolectric.shadows
Class ShadowTimeZoneFinder
java.lang.Object
org.robolectric.shadows.ShadowTimeZoneFinder
@Implements(className="libcore.util.TimeZoneFinder", minSdk=26, maxSdk=28, isInAndroidSdk=false, looseSignatures=true) public class ShadowTimeZoneFinder extends Object
Shadow of TimeZoneFinder for Android O and P.
-
Constructor Summary
Constructors Constructor Description ShadowTimeZoneFinder()
-
Method Summary
Modifier and Type Method Description protected static Object
getInstance()
static String
readTzlookup()
Reads tzlookup.xml from the files bundled inside android-all JARs.
-
Constructor Details
-
ShadowTimeZoneFinder
public ShadowTimeZoneFinder()
-
-
Method Details
-
getInstance
-
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 usesPaths
which doesn't support reading from JARs.
-