An HTTP date with bounded fields. $$\text{HTTPDate} = \{ y : \mathbb{N},\; m : [1,12],\; d : [1,31],\; h : [0,23],\; \min : [0,59],\; s : [0,60] \}$$ (seconds up to 60 for leap seconds)
Instances For
@[implicit_reducible]
Equations
Equations
- One or more equations did not get rendered due to their size.
- Network.HTTP.Date.instBEqHTTPDate.beq x✝¹ x✝ = false
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[implicit_reducible]
Equations
@[implicit_reducible]
Equations
- One or more equations did not get rendered due to their size.
Parse an HTTP date string. Supports IMF-fixdate and asctime formats. $$\text{parseHTTPDate} : \text{String} \to \text{Option}(\text{HTTPDate})$$
Equations
- One or more equations did not get rendered due to their size.
Instances For
Format an HTTP date in IMF-fixdate format (RFC 7231 preferred). $$\text{formatHTTPDate} : \text{HTTPDate} \to \text{String}$$ Note: day-of-week is computed from the date.
Equations
- One or more equations did not get rendered due to their size.