docs: public static ExtractionFn fromQueryGranularity(final Granularity queryGranularity)
    {
      if (queryGranularity == null) {
        return null;
      } else {
        return new TimeFormatExtractionFn(null, null, null, queryGranularity, true);
      }
    }