Package org.jose4j.jwt
Class IntDate
java.lang.Object
org.jose4j.jwt.IntDate
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 Summary
Modifier and TypeMethodDescriptionvoidaddSeconds(int seconds) Deprecated.voidaddSeconds(long seconds) Deprecated.booleanDeprecated.booleanDeprecated.booleanDeprecated.static IntDatefromMillis(long millisecondsFromEpoch) Deprecated.static IntDatefromSeconds(long secondsFromEpoch) Deprecated.longgetValue()Deprecated.longDeprecated.inthashCode()Deprecated.static IntDatenow()Deprecated.toString()Deprecated.
-
Method Details
-
now
Deprecated. -
fromSeconds
Deprecated. -
fromMillis
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
Deprecated. -
after
Deprecated. -
toString
Deprecated. -
equals
Deprecated. -
hashCode
public int hashCode()Deprecated.
-