code: public static final Function<Collection<? extends BaseDateTime>, Period> baseDateTimeFieldCollectionToPeriod(final PeriodType periodType, final Chronology chronology) {
  		return new BaseDateTimeFieldCollectionToPeriod(periodType, chronology);
  	}
docs: <p>
  It creates a {@link Period} with the specified {@link PeriodType} and {@link Chronology}. The input received by the {@link Function}
  must have size 2 and represents the start and end instants of the {@link Period}
  </p>
  
  @param periodType the {@link PeriodType} to be created. It specifies which duration fields are to be used
  @param chronology {@link Chronology} to be used
  @return the {@link Period} created from the input and arguments