Liferay 6.2-ce-ga5

com.liferay.portlet.social.util
Class SocialCounterPeriodUtil

java.lang.Object
  extended by com.liferay.portlet.social.util.SocialCounterPeriodUtil

public class SocialCounterPeriodUtil
extends Object


Constructor Summary
SocialCounterPeriodUtil()
           
 
Method Summary
static int getActivityDay()
           
static int getActivityDay(Calendar calendar)
           
static int getActivityDay(long time)
           
static Date getDate(int activityDay)
           
static int getEndPeriod()
           
static int getEndPeriod(int offset)
           
static int getEndPeriod(long time)
           
static int getFirstActivityDayOfYear()
           
static int getOffset(int activityDay)
           
static int getPeriodLength()
           
static int getPeriodLength(int offset)
           
static int getStartPeriod()
           
static int getStartPeriod(int offset)
           
static int getStartPeriod(long time)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SocialCounterPeriodUtil

public SocialCounterPeriodUtil()
Method Detail

getActivityDay

public static int getActivityDay()

getActivityDay

public static int getActivityDay(Calendar calendar)

getActivityDay

public static int getActivityDay(long time)

getDate

public static Date getDate(int activityDay)

getEndPeriod

public static int getEndPeriod()

getEndPeriod

public static int getEndPeriod(int offset)

getEndPeriod

public static int getEndPeriod(long time)

getFirstActivityDayOfYear

public static int getFirstActivityDayOfYear()

getOffset

public static int getOffset(int activityDay)

getPeriodLength

public static int getPeriodLength()

getPeriodLength

public static int getPeriodLength(int offset)

getStartPeriod

public static int getStartPeriod()

getStartPeriod

public static int getStartPeriod(int offset)

getStartPeriod

public static int getStartPeriod(long time)

Liferay 6.2-ce-ga5