Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for BROWSER_COMPATIBLE_DATE_FORMATS (0.26 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http/DateFormatting.kt

        "EEE,dd-MMM-yyyy HH:mm:ss z",
        "EEE, dd-MM-yyyy HH:mm:ss z",
        // RI bug 6641315 claims a cookie of this format was once served by www.yahoo.com:
        "EEE MMM d yyyy HH:mm:ss z",
      )
    
    private val BROWSER_COMPATIBLE_DATE_FORMATS =
      arrayOfNulls<DateFormat>(BROWSER_COMPATIBLE_DATE_FORMAT_STRINGS.size)
    
    /** Returns the date for this string, or null if the value couldn't be parsed. */
    fun String.toHttpDateOrNull(): Date? {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.1K bytes
    - Viewed (0)
Back to top