예제 #1
0
  @Override
  public void getMessages(Date enclosingDate00, List<Pair<Date, Message>> dest) {
    Date d = Timing.unTimestamp00(itsTimestamp);

    for (Element e : itsElements) {
      e.getMessages(d, dest);
    }
  }
예제 #2
0
  /** Create a new bundle with a specific timestamp. */
  public Bundle(Date date00) {
    if (date00 == null) {
      itsTimestamp = Manifest.TIMESTAMP_NOW;
    } else {
      itsTimestamp = Timing.makeTimestamp(date00);
    }

    itsElements = new Vector<Element>();
  }