public class SocialCounterPeriodUtil
extends Object
Constructor and Description |
---|
SocialCounterPeriodUtil() |
Modifier and Type | Method and Description |
---|---|
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) |
public static int getActivityDay()
public static int getActivityDay(Calendar calendar)
public static int getActivityDay(long time)
public static Date getDate(int activityDay)
public static int getEndPeriod()
public static int getEndPeriod(int offset)
public static int getEndPeriod(long time)
public static int getFirstActivityDayOfYear()
public static int getOffset(int activityDay)
public static int getPeriodLength()
public static int getPeriodLength(int offset)
public static int getStartPeriod()
public static int getStartPeriod(int offset)
public static int getStartPeriod(long time)