Class DateUtils


  • public final class DateUtils
    extends Object
    Since:
    10.0
    • Method Detail

      • ifUnmodifiedIsBeforeModificationDate

        public static boolean ifUnmodifiedIsBeforeModificationDate​(String ifUnmodifiedSince,
                                                                   Long lastMod)
      • toRFC1123

        public static String toRFC1123​(long epoch)
      • isNotModifiedSince

        public static boolean isNotModifiedSince​(String rfc1123Since,
                                                 Long lasModificationDate)
                                          throws org.infinispan.rest.operations.exceptions.WrongDateFormatException
        Throws:
        org.infinispan.rest.operations.exceptions.WrongDateFormatException