YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.upnp.server.http.HttpDates Class Reference

The HTTP date of RFC 9110 (IMF-fixdate, for example Sun, 01 Nov 2026 17:55:36 GMT): English day and month names, a two digit day, the literal GMT. More...

Collaboration diagram for de.yaacc.upnp.server.http.HttpDates:
Collaboration graph

Static Public Member Functions

static String imfFixdate (long epochMillis)
 
static String now ()
 

Detailed Description

The HTTP date of RFC 9110 (IMF-fixdate, for example Sun, 01 Nov 2026 17:55:36 GMT): English day and month names, a two digit day, the literal GMT.

The date generator of httpcore5 5.3.6 formats with the default locale of the phone (a German phone sent So., 01 Nov. 2026 17:55:36 GMT+00:00), so the app formats the header itself.

Member Function Documentation

◆ imfFixdate()

static String de.yaacc.upnp.server.http.HttpDates.imfFixdate ( long epochMillis)
static
Returns
the HTTP date of the time, independent of the default locale and time zone of the device

Referenced by de.yaacc.upnp.server.http.HttpDates.now().

Here is the caller graph for this function:

◆ now()

static String de.yaacc.upnp.server.http.HttpDates.now ( )
static
Returns
the HTTP date of now
Here is the call graph for this function:

The documentation for this class was generated from the following file: