Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Epoch (0.01 sec)

  1. src/main/java/org/codelibs/fess/app/web/base/login/AzureAdCredential.java

                // Check if token is still valid by comparing absolute timestamps
                final long tokenExpiryTime = authResult.expiresOnDate().getTime(); // milliseconds since epoch
                final long currentTime = ComponentUtil.getSystemHelper().getCurrentTimeAsLong(); // milliseconds since epoch
                if (tokenExpiryTime < currentTime) {
                    if (logger.isDebugEnabled()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 28 09:13:08 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

        /**
         * Calculates the expiration time in milliseconds from the current time.
         *
         * @param days the number of days from now when the item should expire
         * @return the expiration time in milliseconds since epoch
         */
        protected long getExpiredTime(final int days) {
            final long now = ComponentUtil.getSystemHelper().getCurrentTimeAsLong();
            return now + days * Constants.ONE_DAY_IN_MILLIS;
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 15.2K bytes
    - Viewed (0)
Back to top