private Position getPosition( Map<String, Object> properties ) {
String timestampValue = ( String )properties.get( PROPERTY_TIMESTAMP );
try {
Date timestamp = new SimpleDateFormat( "yyyy-MM-dd'T'HH:mm:ssZ" ).parse( timestampValue );
Coordinates coordinates = getCoordinates( properties );
Position position = new Position( coordinates, timestamp );
return position;
} catch( ParseException e ) {
throw new IllegalStateException( "Could not parse date from string: " + timestampValue
+ ", needs to be yyyy-MM-dd'T'HH:mm:ssZ" );
}