Expand description
§httpdt
A datetime library for HTTP clients and servers.
Generates timestamps for use in the HTTP Date header, the only format required for implementation of HTTP.
Calculates with a focus on clarity from SystemTime,
with no external dependencies, and provides for
updates to previously generated datetimes for speed.
Structs§
- Datetime
- Stores the date, time and raw seconds since the epoch,
with constructor, core methods for update (
now) and output as a HTTP Date header timestamp (for_header), utility methods for construction via diff (set) and current number of seconds since the epoch (raw) and aDefaultimplementation for the Unix epoch values.