public class RewardPeriod extends Object
| Constructor and Description |
|---|
RewardPeriod() |
RewardPeriod(long startDateInSeconds,
long endDateInSeconds) |
| 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) |
long |
getStartDateInSeconds() |
int |
hashCode() |
void |
setEndDateInSeconds(long endDateInSeconds) |
void |
setStartDateInSeconds(long startDateInSeconds) |
org.json.JSONObject |
toJSONObject() |
String |
toString() |
public RewardPeriod()
public RewardPeriod(long startDateInSeconds,
long endDateInSeconds)
public org.json.JSONObject toJSONObject()
public static RewardPeriod getCurrentPeriod(RewardSettings rewardSettings)
public static RewardPeriod getPeriodOfTime(RewardSettings rewardSettings, LocalDateTime localDateTime)
public long getStartDateInSeconds()
public long getEndDateInSeconds()
public void setStartDateInSeconds(long startDateInSeconds)
public void setEndDateInSeconds(long endDateInSeconds)
protected boolean canEqual(Object other)
Copyright © 2003–2019 eXo Platform SAS. All rights reserved.