Re: DateTime improvement
| From: | Lars Strojny | Date: | Mon, 17 Dec 2012 20:52:51 +0000 |
| Subject: | Re: DateTime improvement | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-64324@lists.php.net to get a copy of this message | ||
Hi Derick,
I would go with DateTimeValue or DateTimeImmutable as well.
Am 17.12.2012 um 19:42 schrieb Benjamin Eberlei <kontakt@beberlei.de>:
> On Mon, Dec 17, 2012 at 5:48 PM, Derick Rethans <derick@php.net> wrote:
> I went for DateTimePoint. Point as in "Point in time". I am not too
> happy with the name, but I think it works better than DateTimeImmutable
> as that just sounds quircky. I'm still fixing up a few things and adding
> some test cases. I think I need to make it work with DatePeriod too -
> but I haven't looked at that yet.
>
> some suggestions:
>
> DateTimeValue
> DateTimeImmutable
> DateImmutable
> DateFixed
> DateStatic
> (and as a bonus: DateTime2)