public class CriterionProgress extends Object
Modifier and Type | Field and Description |
---|---|
private static SimpleDateFormat |
FORMAT |
private Date |
obtained |
Constructor and Description |
---|
CriterionProgress() |
Modifier and Type | Method and Description |
---|---|
static CriterionProgress |
fromPacket(PacketByteBuf buf) |
Date |
getObtainedDate() |
boolean |
isObtained() |
void |
obtain() |
static CriterionProgress |
obtainedAt(String datetime) |
void |
reset() |
JsonElement |
toJson() |
void |
toPacket(PacketByteBuf buf) |
String |
toString() |
private static final SimpleDateFormat FORMAT
private Date obtained
public boolean isObtained()
public void obtain()
public void reset()
public Date getObtainedDate()
public void toPacket(PacketByteBuf buf)
public JsonElement toJson()
public static CriterionProgress fromPacket(PacketByteBuf buf)
public static CriterionProgress obtainedAt(String datetime)