public class RewardPeriod extends Object
| Constructor and Description |
|---|
RewardPeriod() |
RewardPeriod(RewardPeriodType rewardPeriodType) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static RewardPeriod |
getCurrentPeriod(RewardSettings rewardSettings) |
long |
getEndDateInSeconds() |
static RewardPeriod |
getPeriodOfTime(RewardSettings rewardSettings,
LocalDateTime localDateTime) |
RewardPeriodType |
getRewardPeriodType() |
long |
getStartDateInSeconds() |
int |
hashCode() |
void |
setEndDateInSeconds(long endDateInSeconds) |
void |
setRewardPeriodType(RewardPeriodType rewardPeriodType) |
void |
setStartDateInSeconds(long startDateInSeconds) |
org.json.JSONObject |
toJSONObject() |
String |
toString() |
public RewardPeriod(RewardPeriodType rewardPeriodType)
public RewardPeriod()
public org.json.JSONObject toJSONObject()
public static RewardPeriod getCurrentPeriod(RewardSettings rewardSettings)
public static RewardPeriod getPeriodOfTime(RewardSettings rewardSettings, LocalDateTime localDateTime)
public RewardPeriodType getRewardPeriodType()
public long getStartDateInSeconds()
public long getEndDateInSeconds()
public void setRewardPeriodType(RewardPeriodType rewardPeriodType)
public void setStartDateInSeconds(long startDateInSeconds)
public void setEndDateInSeconds(long endDateInSeconds)
protected boolean canEqual(Object other)
Copyright © 2003–2019 eXo Platform SAS. All rights reserved.