Class IntDate

java.lang.Object
org.jose4j.jwt.IntDate

public class IntDate extends Object
Deprecated.
in draft -26 of the JWT spec the name changed from IntDate to NumericDate. Consistent with that change there is a new NumericDate class, which is similar to this.
  • Method Details

    • now

      public static IntDate now()
      Deprecated.
    • fromSeconds

      public static IntDate fromSeconds(long secondsFromEpoch)
      Deprecated.
    • fromMillis

      public static IntDate fromMillis(long millisecondsFromEpoch)
      Deprecated.
    • addSeconds

      public void addSeconds(long seconds)
      Deprecated.
    • addSeconds

      public void addSeconds(int seconds)
      Deprecated.
    • getValue

      public long getValue()
      Deprecated.
    • getValueInMillis

      public long getValueInMillis()
      Deprecated.
    • before

      public boolean before(IntDate when)
      Deprecated.
    • after

      public boolean after(IntDate when)
      Deprecated.
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object other)
      Deprecated.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object