Date startTime = new Date(statistic.getStartTime()); mbeanStat.add(new String[] { "Start Time", startTime.toString() }); Date lastSampleTime = new Date(statistic.getLastSampleTime());
processAttrValue(snapshot, mbAttrInfo, propName.append("Description"), stat.getDescription()); processAttrValue(snapshot, mbAttrInfo, propName.append("LastSampleTime"), stat.getLastSampleTime()); processAttrValue(snapshot, mbAttrInfo, propName.append("StartTime"), stat.getStartTime()); processAttrValue(snapshot, mbAttrInfo, propName.append("Unit"), stat.getUnit());