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 ; }
Get a date converter for the data type