Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:64324 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 91928 invoked from network); 17 Dec 2012 20:52:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Dec 2012 20:52:59 -0000 Authentication-Results: pb1.pair.com smtp.mail=lars@strojny.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=lars@strojny.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain strojny.net from 46.4.40.248 cause and error) X-PHP-List-Original-Sender: lars@strojny.net X-Host-Fingerprint: 46.4.40.248 milch.schokokeks.org Received: from [46.4.40.248] ([46.4.40.248:41589] helo=milch.schokokeks.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 44/52-65234-8268FC05 for ; Mon, 17 Dec 2012 15:52:58 -0500 Received: from [192.168.178.32] (ppp-88-217-90-195.dynamic.mnet-online.de [::ffff:88.217.90.195]) (AUTH: PLAIN lars@schokokeks.org, TLS: TLSv1/SSLv3,128bits,AES128-SHA) by milch.schokokeks.org with ESMTPSA; Mon, 17 Dec 2012 21:52:52 +0100 id 000000000000001A.0000000050CF8624.00007CFB Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) In-Reply-To: Date: Mon, 17 Dec 2012 21:52:51 +0100 Cc: Derick Rethans , Herman Radtke , "=?iso-8859-1?Q?=22=C1ngel_Gonz=E1lez=22?=" , Nikita Nefedov , "internals@lists.php.net" Content-Transfer-Encoding: 7bit Message-ID: References: <50C63A7C.8090705@gmail.com> <4DBD0EA5-C45B-4C12-BFE9-E263B255B2C3@strojny.net> To: Benjamin Eberlei X-Mailer: Apple Mail (2.1499) Subject: Re: [PHP-DEV] DateTime improvement From: lars@strojny.net (Lars Strojny) Hi Derick, I would go with DateTimeValue or DateTimeImmutable as well. Am 17.12.2012 um 19:42 schrieb Benjamin Eberlei : > On Mon, Dec 17, 2012 at 5:48 PM, Derick Rethans 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)