Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:68006 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 14133 invoked from network); 28 Jun 2013 16:00:46 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Jun 2013 16:00:46 -0000 Authentication-Results: pb1.pair.com header.from=simonsimcity@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=simonsimcity@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.173 as permitted sender) X-PHP-List-Original-Sender: simonsimcity@gmail.com X-Host-Fingerprint: 209.85.212.173 mail-wi0-f173.google.com Received: from [209.85.212.173] ([209.85.212.173:43344] helo=mail-wi0-f173.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 16/80-06897-D23BDC15 for ; Fri, 28 Jun 2013 12:00:46 -0400 Received: by mail-wi0-f173.google.com with SMTP id hq4so1007672wib.12 for ; Fri, 28 Jun 2013 09:00:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=1ETLm/8AWEAKDHc3nxahIHRU16OQRFBtRkp33FpWtH0=; b=iEh8CkH6ssQbpirBB0PMHQTQi4+tiSimof6g3nrTApMVmh7UYKchE3f80BDpA1lOSQ ARLfTx0QR2AJ1H4u7ejhEYzTMxL/ua4VT0Y2Rt3tff58nUNrqzg44+TSraHqVDHwP3YP ctjoLEtjfnmWVcDqTGOqiEn0X5fDjdEbukPkKu4DW5hzdACRx8tsvQtJgGtm56jNhxTV guWxPSU/DzZV53AJ2DYpTeHea8mHDmnxt5DCewgQPKeus7zrdq3ZpFwA7iNNVTRUzwiP xsHxBEOT/qtXSByWxFL7DJ7THpjWe8XoKqXiMplTNssoyFfsIQmsFCg92pHmZZd05ksE Prrw== MIME-Version: 1.0 X-Received: by 10.194.235.161 with SMTP id un1mr10440306wjc.6.1372435243311; Fri, 28 Jun 2013 09:00:43 -0700 (PDT) Received: by 10.194.63.200 with HTTP; Fri, 28 Jun 2013 09:00:43 -0700 (PDT) Date: Fri, 28 Jun 2013 18:00:43 +0200 Message-ID: To: PHP Internals List Content-Type: multipart/alternative; boundary=089e013d12c427d52c04e038fb3f Subject: Adding a time interval to an interval From: simonsimcity@gmail.com (Simon Schick) --089e013d12c427d52c04e038fb3f Content-Type: text/plain; charset=UTF-8 Hi, all I'd like to extend the API of php by a method. Currently it is possible to create a DateInterval ... but if you have two DateIntervals and want to "combine" them, you need to do it by your own. I think it'd be a good idea to add a method for that to the DateInterval class. http://stackoverflow.com/questions/11556731/how-we-can-add-two-date-intervals-in-php Bye, Simon --089e013d12c427d52c04e038fb3f--