/**
   * Creates a new ViewObjectTime
   *
   * @param time the time represented in the view object
   */
  protected ViewObjectTime(MyTime time) {
    super(time);
    this.date = Calendar.getInstance();
    this.date.setTimeInMillis(time.getAlarmStartDate().getTime());
    endDate = Calendar.getInstance();

    this.time = time;
    fillData();
  }