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 Object implements DateHolder
Object that has a value tied to a date.
  • Constructor Details

    • DateObj

      public DateObj(long date, T value)
  • Method Details

    • getDate

      public long getDate()
      Description copied from interface: DateHolder
      Get the date the object holds.
      Specified by:
      getDate in interface DateHolder
      Returns:
      Epoch ms - milliseconds passed since January 1st 1970.
    • getValue

      public T getValue()