code: public static DateConverter converter(GeoPackageDataType type) {
  
  		DateConverter converter = null;
  
  		switch (type) {
  		case DATE:
  			converter = dateConverter();
  			break;
  		case DATETIME:
  			converter = dateTimeConverter();
  			break;
  		default:
  			throw new GeoPackageException("Not a date data type: " + type);
  		}
  
  		return converter;
  	}
docs: Get a date converter for the data type
  
  @param type
  data type
  @return date converter