return results;
} else {
List<Node> timePeriods = node.getChildren("TimePeriod");
if (timePeriods != null && !timePeriods.isEmpty()) {
for (Node timePeriodNode : timePeriods) {
Instant begining = new DefaultInstant((Position) timePeriodNode.getChild("BeginPosition").getValue());
Instant ending = new DefaultInstant((Position) timePeriodNode.getChild("EndPosition").getValue());
//Period timePeriod = new DefaultPeriod(begining, ending);
TimePeriodType timePeriod = Wcs111Factory.eINSTANCE.createTimePeriodType();
Date beginPosition = cvtToGmt(begining.getPosition().getDate());
Date endPosition = cvtToGmt(ending.getPosition().getDate());
timePeriod.setBeginPosition(beginPosition);
timePeriod.setEndPosition(endPosition);
results.getTimePeriod().add(timePeriod);