}
public Calendar getLatestArchiveTimeStamp() throws BAMException {
Calendar timeStampCal = null;
try {
ArchiveTime timeStamp = stub.getLatestArchiveTimeStamp()[0];
timeStampCal = timeStamp.getArchiveTime();
} catch (Exception e) {
throw new BAMException("Latest archive time stamp fetching failed", e);
}