Re: [RFC] Duration class
| From: | Tim Düsterhus | Date: | Thu, 02 Jul 2026 15:27:24 +0000 |
| Subject: | Re: [RFC] Duration class | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-131711@lists.php.net to get a copy of this message | ||
Hi
Am 2026-07-02 03:53, schrieb Morgan:
If you want the appropriate mathematical structure, the timeline models a one-dimensional real affine space, in which Durations are vectors and Instants are points; it's a vector space that has forgotten its origin (the choice of epoch is arbitrary and not a distinguished point of the space - as evidenced by how many of them there are).Thank you. I genuinely enjoyed being outnerded here :-) Any suggestions regarding naming from your side? Best regards Tim Düsterhus