code: private InputStream openResource(String name) throws IOException {
          if (mAppContext == null) {
              throw new RuntimeException("Need to call JodaTimeAndroid.init() before using joda-time-android");
          }
  
          String resName = ResUtils.getTzResource(name);
          int resId = ResUtils.getIdentifier(R.raw.class, resName);
  
          if (resId == 0) {
              throw new IOException("Resource not found: \"" + name + "\" (resName: \"" + resName + "\")");
          }
  
          InputStream in = mAppContext.getResources().openRawResource(resId);
  
          return in;
      }
docs: Opens a resource from file or classpath.
  
  @param name  the name to open
  @return the input stream
  @throws IOException if an error occurs