Level yearLevel = new MondrianLevel("Year",timeDimension,"year");
LevelProperty timeStamp = new MondrianLevelProperty("TimeStamp",LevelProperty.TYPE_TIMESTAMP,timeDimension,"timestamp");
yearLevel.addProperty(timeStamp);
Hierarchy timeHier = new MondrianHierarchy("timeHier",timeDimension);
Dimension timeDim = new MondrianDimension("Time",timeHier);
timeDimension.releaseObject();