code: private String formatSpecific(TimeZone tz, NameType stdType, NameType dstType, long date, Output<TimeType> timeType) {
          assert(stdType == NameType.LONG_STANDARD || stdType == NameType.SHORT_STANDARD);
          assert(dstType == NameType.LONG_DAYLIGHT || dstType == NameType.SHORT_DAYLIGHT);
  
          boolean isDaylight = tz.inDaylightTime(new Date(date));
          String name = isDaylight?
                  getTimeZoneNames().getDisplayName(ZoneMeta.getCanonicalCLDRID(tz), dstType, date) :
                  getTimeZoneNames().getDisplayName(ZoneMeta.getCanonicalCLDRID(tz), stdType, date);
  
          if (name != null && timeType != null) {
              timeType.value = isDaylight ? TimeType.DAYLIGHT : TimeType.STANDARD;
          }
          return name;
      }
docs: Private method returning the time zone's specific format string.
  
  @param tz the time zone
  @param stdType the name type used for standard time
  @param dstType the name type used for daylight time
  @param date the date
  @param timeType when null, actual time type is set
  @return the time zone's specific format name string