public DateTokenConverter<Object> getPrimaryDateTokenConverter() {
    Converter<Object> p = headTokenConverter;

    while (p != null) {
      if (p instanceof DateTokenConverter) {
        DateTokenConverter<Object> dtc = (DateTokenConverter<Object>) p;
        // only primary converters should be returned as
        if(dtc.isPrimary())
          return dtc;
      }

      p = p.getNext();
    }

    return null;
  }
@Test
  public void nullTimeZoneByDefault() {
    FileNamePattern fnp = new FileNamePattern("%d{hh}", context);
    assertNull(fnp.getPrimaryDateTokenConverter().getTimeZone());
  }