TimeSequenceType results = Wcs111Factory.eINSTANCE.createTimeSequenceType();
@Override public Object parse(String value) throws Exception { TimeSequenceType timeSequence = Wcs111Factory.eINSTANCE.createTimeSequenceType(); WCSInfo info = geoServer.getService(WCSInfo.class); int maxRequestedDimensionValues = info.getMaxRequestedDimensionValues(); TimeParser parser = new TimeParser(maxRequestedDimensionValues); Collection<Date> timePositions = (Collection<Date>) parser.parse(value); for (Date tp : timePositions) { timeSequence.getTimePosition().add(tp); } return timeSequence; } }