String beginPosition = sosContext.getBeginPosition();
String endPosition = sosContext.getEndPosition();
if (beginPosition.length() > 0) {
if (endPosition.length() == 0) {
Calendar cal = Calendar.getInstance(TimeZone.getTimeZone("UTC"));
endPosition = (new IsoDateFormat()).format(cal.getTime());
}
postData.append("<sos:eventTime>");
postData.append("<ogc:TM_During>");
postData.append("<ogc:PropertyName>om:samplingTime</ogc:PropertyName>");
postData.append("<gml:TimePeriod>");