code: protected DateTimeField newDateTimeField(final String id, final IModel<M> model)
  	{
  		final IModel<Date> textFieldModel = new PropertyModel<>(model.getObject(), getId());
  		return ComponentFactory.newDateTimeField(id, textFieldModel);
  	}
docs: Factory method for create the new {@link DateTimeField}. This method is invoked in the
  constructor from the derived classes and can be overridden so users can provide their own
  version of a new {@link DateTimeField}.
  
  @param id
  the id
  @param model
  the model
  @return the new {@link DateTimeField}