com.auth0.jwt.Clock Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-jwt Show documentation
Show all versions of java-jwt Show documentation
Java implementation of JSON Web Token (JWT)
package com.auth0.jwt;
import java.util.Date;
/**
* The Clock class is used to wrap calls to Date class.
*/
class Clock {
Clock() {
}
/**
* Returns a new Date representing Today's time.
*
* @return a new Date representing Today's time.
*/
Date getToday() {
return new Date();
}
}