code: void applyTo(android.icu.util.SimpleTimeZone stz) {
          if (sy != -1) {
              stz.setStartYear(sy);
          }
          if (sm != -1) {
              if (sdm == -1) {
                  stz.setStartRule(sm, sdwm, sdw, st);
              } else if (sdw == -1) {
                  stz.setStartRule(sm, sdm, st);
              } else {
                  stz.setStartRule(sm, sdm, sdw, st, sa);
              }
          }
          if (em != -1) {
              if (edm == -1) {
                  stz.setEndRule(em, edwm, edw, et);
              } else if (edw == -1) {
                  stz.setEndRule(em, edm, et);
              } else {
                  stz.setEndRule(em, edm, edw, et, ea);
              }
          }
      }
docs: /*void applyTo(java.util.SimpleTimeZone stz) {
  if (sy != -1) {
  stz.setStartYear(sy);
  }
  if (sm != -1) {
  if (sdm == -1) {
  stz.setStartRule(sm, sdwm, sdw, st);
  } else if (sdw == -1) {
  stz.setStartRule(sm, sdm, st);
  } else {
  stz.setStartRule(sm, sdm, sdw, st, sa);
  }
  }
  if (em != -1) {
  if (edm == -1) {
  stz.setEndRule(em, edwm, edw, et);
  } else if (edw == -1) {
  stz.setEndRule(em, edm, et);
  } else {
  stz.setEndRule(em, edm, edw, et, ea);
  }
  }
  }