code: private static void beginZoneProps(Writer writer, boolean isDst, String tzname, int fromOffset, int toOffset, long startTime) throws IOException {
          writer.write(ICAL_BEGIN);
          writer.write(COLON);
          if (isDst) {
              writer.write(ICAL_DAYLIGHT);
          } else {
              writer.write(ICAL_STANDARD);
          }
          writer.write(NEWLINE);
  
          // TZOFFSETTO
          writer.write(ICAL_TZOFFSETTO);
          writer.write(COLON);
          writer.write(millisToOffset(toOffset));
          writer.write(NEWLINE);
  
          // TZOFFSETFROM
          writer.write(ICAL_TZOFFSETFROM);
          writer.write(COLON);
          writer.write(millisToOffset(fromOffset));
          writer.write(NEWLINE);
  
          // TZNAME
          writer.write(ICAL_TZNAME);
          writer.write(COLON);
          writer.write(tzname);
          writer.write(NEWLINE);
          
          // DTSTART
          writer.write(ICAL_DTSTART);
          writer.write(COLON);
          writer.write(getDateTimeString(startTime + fromOffset));
          writer.write(NEWLINE);        
      }
docs: /*
  Write the opening section of zone properties