Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:26369 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 70267 invoked by uid 1010); 5 Nov 2006 19:28:19 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 70251 invoked from network); 5 Nov 2006 19:28:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Nov 2006 19:28:19 -0000 Authentication-Results: pb1.pair.com header.from=rasmus@lerdorf.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=rasmus@lerdorf.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lerdorf.com from 204.11.219.139 cause and error) X-PHP-List-Original-Sender: rasmus@lerdorf.com X-Host-Fingerprint: 204.11.219.139 lerdorf.com Linux 2.5 (sometimes 2.4) (4) Received: from [204.11.219.139] ([204.11.219.139:56889] helo=lerdorf.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DE/1D-10980-E4B3E454 for ; Sun, 05 Nov 2006 14:28:15 -0500 Received: from [192.168.200.104] (c-67-169-43-97.hsd1.ca.comcast.net [67.169.43.97]) (authenticated bits=0) by lerdorf.com (8.13.8/8.13.8/Debian-2) with ESMTP id kA5JS7Nn026297; Sun, 5 Nov 2006 11:28:07 -0800 Message-ID: <454E3B47.8060206@lerdorf.com> Date: Sun, 05 Nov 2006 11:28:07 -0800 User-Agent: Thunderbird 1.5.0.7 (Macintosh/20060909) MIME-Version: 1.0 To: Christian Schneider CC: Ilia Alshanetsky , internals@lists.php.net References: <005e01c6ff82$e6092c30$ec01010a@intranet.db> <2FAA3BA3-283C-445D-9648-70C207FF2251@prohost.org> <454CBD65.5040205@cschneid.com> <454D66C4.2090708@cschneid.com> <303397962.20061105053913@marcus-boerger.de> <454D6EDE.60202@cschneid.com> <454E2670.4050806@cschneid.com> <9FF4D6D2-2F94-46AA-B13A-75F51C95892A@prohost.org> <454E2E20.6090909@cschneid.com> In-Reply-To: <454E2E20.6090909@cschneid.com> X-Enigmail-Version: 0.94.1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] New Datetime class problem From: rasmus@lerdorf.com (Rasmus Lerdorf) Christian Schneider wrote: > Well, almost: DateTime is a date class, not a time class. Surely it handles both. A DateTime class encapsulates both date and time information. Just look at the methods like setTime() and the properties that it contains. I don't think it is badly named at all. -Rasmus