@@ -0,0 +1,1932 @@
+/*%0A * Copyright (C) 2003-2011 eXo Platform SAS.%0A *%0A * This program is free software; you can redistribute it and/or%0A * modify it under the terms of the GNU Affero General Public License%0A * as published by the Free Software Foundation; either version 3%0A * of the License, or (at your option) any later version.%0A *%0A * This program is distributed in the hope that it will be useful,%0A * but WITHOUT ANY WARRANTY; without even the implied warranty of%0A * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the%0A * GNU General Public License for more details.%0A *%0A * You should have received a copy of the GNU General Public License%0A * along with this program; if not, see%3Chttp://www.gnu.org/licenses/%3E.%0A */%0Apackage org.exoplatform.social.client.core.common;%0A%0Aimport org.exoplatform.social.client.api.common.Period;%0A%0A/**%0A * Created by The eXo Platform SAS%0A * Implementation of %7B@link Period%7D%0A * Author : vien_levan%0A *          vien_levan@exoplatform.com%0A * Jun 1, 2011  %0A */%0Apublic class PeriodImpl implements Period %7B%0A  /**%0A   * The start time (timestamp).%0A   */%0A  private long startTime;%0A  %0A  /**%0A   * The end time (timestamp).%0A   */%0A  private long endTime;%0A  %0A  /**%0A   * The constructor.%0A   * %0A   * @param startTime the start timestamp%0A   * @param endTime the end timestamp%0A   */%0A  public PeriodImpl(long startTime, long endTime) %7B%0A    this.startTime = startTime;%0A    this.endTime = endTime;%0A  %7D%0A  %0A  /**%0A   * The constructor.%0A   */%0A  public PeriodImpl() %7B%0A    this(0, 0);%0A  %7D%0A  %0A  /**%0A   * %7B@inheritDoc%7D%0A   */%0A  @Override%0A  public long getEndTime() %7B%0A    return this.endTime;%0A  %7D%0A%0A  /**%0A   * %7B@inheritDoc%7D%0A   */%0A  @Override%0A  public long getStartTime() %7B%0A    return this.startTime;%0A  %7D%0A%0A  /**%0A   * %7B@inheritDoc%7D%0A   */%0A  @Override%0A  public void setEndTime(long endTime) %7B%0A    this.endTime = endTime;%0A  %7D%0A%0A  /**%0A   * %7B@inheritDoc%7D%0A   */%0A  @Override%0A  public void setStartTime(long startTime) %7B%0A    this.startTime = startTime;%0A  %7D%0A%7D%0A

Implement Period #25