code: @Override
      public TimeZoneRule[] getTimeZoneRules() {
          initTransitionRules();
  
          int size = useDaylight ? 3 : 1;
          TimeZoneRule[] rules = new TimeZoneRule[size];
          rules[0] = initialRule;
          if (useDaylight) {
              rules[1] = stdRule;
              rules[2] = dstRule;
          }
          return rules;
      }
docs: {@inheritDoc}