Package 

Class HttpDate


  • 
    public final class HttpDate
    
                        

    Best-effort parser for HTTP dates.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final static long MAX_DATE
    • Method Summary

      Modifier and Type Method Description
      static Date parse(String value) Returns the date for {@code value}.
      static String format(Date value) Returns the string for {@code value}.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • parse

         static Date parse(String value)

        Returns the date for {@code value}. Returns null if the value couldn't be parsed.

      • format

         static String format(Date value)

        Returns the string for {@code value}.