code: public StructuredQueryBuilder.Period period(Calendar start, Calendar end) {
      return new TemporalPeriod(DatatypeConverter.printDateTime(start),
        DatatypeConverter.printDateTime(end));
    }
docs: Construct a temporal period for use in {@link #temporalPeriodRange temporalPeriodRange}
  queries.
  @param start the start date/time for this period
  @param end   the end date/time for this period
  @return a temporal period