Class DateObj<T>
- java.lang.Object
-
- com.djrapitops.plan.delivery.domain.DateObj<T>
-
- All Implemented Interfaces:
DateHolder
- Direct Known Subclasses:
Ping
public class DateObj<T> extends java.lang.Object implements DateHolder
Object that has a value tied to a date.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getDate()
Get the date the object holds.T
getValue()
-
-
-
Constructor Detail
-
DateObj
public DateObj(long date, T value)
-
-
Method Detail
-
getDate
public long getDate()
Description copied from interface:DateHolder
Get the date the object holds.- Specified by:
getDate
in interfaceDateHolder
- Returns:
- Epoch ms - milliseconds passed since January 1st 1970.
-
getValue
public T getValue()
-
-