Re: [RFC] Time\Instant and Time\Clock
| From: | Tim Düsterhus | Date: | Wed, 30 Sep 2026 19:52:44 +0000 |
| Subject: | Re: [RFC] Time\Instant and Time\Clock | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-132730@lists.php.net to get a copy of this message | ||
Hi
On 2026-09-30 21:10, Morgan wrote:
I think I can answer that one. […]Yes, thank you! That matches what I just sent, just using different words.
Indeed. That's the uncertainty information that I mentioned in https://news-web.php.net/php.internals/132698. As you say, it can be representing by an Instant + Duration indicating the amount of uncertainty. Best regards Tim DüsterhusI think *precision* should somehow be an explicit part of \Time\Instant class. How precise is the \Time\Instant?Well, then it's not an _instant_, is it? It's a combination of an instant ("now") and a duration ("and the subsequent sixty seconds").