code: public void setTimeEnd(long timeEnd) {
  
          checkFrozen();
          if (timeEnd < 0) {
              throw new CmsIllegalArgumentException(
                  Messages.get().container(Messages.ERR_LOGIN_MESSAGE_BAD_TIME_1, new Long(timeEnd)));
          }
          if (timeEnd == 0) {
              timeEnd = DEFAULT_TIME_END;
          }
          if ((m_timeStart > 0) && (timeEnd <= m_timeStart)) {
              throw new CmsIllegalArgumentException(Messages.get().container(Messages.ERR_LOGIN_MESSAGE_BAD_END_TIME_0));
          }
          m_timeEnd = timeEnd;
      }
docs: Sets the time when to finish displaying this message.<p>
  
  @param timeEnd the time to set