Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:64388 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 50898 invoked from network); 20 Dec 2012 20:06:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Dec 2012 20:06:26 -0000 Authentication-Results: pb1.pair.com header.from=linepogl@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=linepogl@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.223.182 as permitted sender) X-PHP-List-Original-Sender: linepogl@gmail.com X-Host-Fingerprint: 209.85.223.182 mail-ie0-f182.google.com Received: from [209.85.223.182] ([209.85.223.182:33513] helo=mail-ie0-f182.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 20/3B-20281-1CF63D05 for ; Thu, 20 Dec 2012 15:06:25 -0500 Received: by mail-ie0-f182.google.com with SMTP id s9so5285930iec.27 for ; Thu, 20 Dec 2012 12:06:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=YDtl3csORQ5oV2CNyyHaXyz2EoWIT2eUQdhaLDkozH0=; b=0vha1S57cPdKE+b+HZiCAVZcPBFpxX32Y29F5YT8RMP/y7wGSbLJ4Veq19EHEdtjRM SGeK/K99aed2u/7/ChBR8q7CMQ35bMd8eGwoYtqJLw1iYDBlbDnQfBKLjFr5rXOBECks 0NTRrvhZ5ccGtED5SXSiBqBEAt+KTSsesGZ7IZgtY+Iad26ycmhxB33Xt1/9ChqIDcF3 /skof9GWOrSmcbKI2tYb19psFXM9S0+pnb8UC69BAoM2meNgKRXEL6gCuJ8L1dkIfVYD y0Zryqwzn/rFnBun6KE8/vKo0sQIZ7QcJCWGVp00sv8VbM0wImjAJynlNj0iri0KreFp /ZZg== Received: by 10.50.152.240 with SMTP id vb16mr6454643igb.90.1356033982086; Thu, 20 Dec 2012 12:06:22 -0800 (PST) MIME-Version: 1.0 Received: by 10.64.41.234 with HTTP; Thu, 20 Dec 2012 12:06:00 -0800 (PST) In-Reply-To: <50D33CC5.8060500@garfieldtech.com> References: <50C63A7C.8090705@gmail.com> <4DBD0EA5-C45B-4C12-BFE9-E263B255B2C3@strojny.net> <50D33CC5.8060500@garfieldtech.com> Date: Thu, 20 Dec 2012 21:06:00 +0100 Message-ID: To: Larry Garfield Cc: internals@lists.php.net Content-Type: multipart/alternative; boundary=e89a8f3ba01bce3f7204d14e43dc Subject: Re: [PHP-DEV] DateTime improvement From: linepogl@gmail.com (Lazare Inepologlou) --e89a8f3ba01bce3f7204d14e43dc Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable > Of course, I have no idea if anyone in userspace is using DateTimeImmutable... Well, it seems unlikely, unless he is Yoda or French. I mean, in English, it is common to put the adjective in front of the noun, isn't it? Lazare INEPOLOGLOU Ing=C3=A9nieur Logiciel 2012/12/20 Larry Garfield > I've seen DateTimeValue used elsewhere for userspace immutable date time > objects. Whether that indicates we SHOULD or SHOULD NOT use that for an > in-C version, I don't know. (I'm inclined to say should-but-namespace, b= ut > I don't know if we're doing that yet.) > > Of course, I have no idea if anyone in userspace is using > DateTimeImmutable... > > --Larry Garfield > > On 12/17/12 2:52 PM, Lars Strojny wrote: > >> 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 addin= g >>> 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) >>> >> >> >> > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --e89a8f3ba01bce3f7204d14e43dc--