Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:55989 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 97741 invoked from network); 29 Oct 2011 12:00:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Oct 2011 12:00:16 -0000 Authentication-Results: pb1.pair.com header.from=danielc@analysisandsolutions.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=danielc@analysisandsolutions.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain analysisandsolutions.com from 166.84.1.89 cause and error) X-PHP-List-Original-Sender: danielc@analysisandsolutions.com X-Host-Fingerprint: 166.84.1.89 mailbackend.panix.com Solaris 10 (beta) Received: from [166.84.1.89] ([166.84.1.89:43514] helo=mailbackend.panix.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C8/F1-17222-BCAEBAE4 for ; Sat, 29 Oct 2011 08:00:14 -0400 Received: from panix3.panix.com (panix3.panix.com [166.84.1.3]) by mailbackend.panix.com (Postfix) with ESMTP id 2941428522; Sat, 29 Oct 2011 08:00:05 -0400 (EDT) Received: by panix3.panix.com (Postfix, from userid 14662) id 3881A8FDE0; Sat, 29 Oct 2011 08:00:05 -0400 (EDT) Date: Sat, 29 Oct 2011 08:00:05 -0400 To: Stas Malyshev Cc: Derick Rethans , PHP Internals List Message-ID: <20111029120003.GA13551@panix.com> References: <20111025150637.GA8964@panix.com> <4EA83F70.30601@sugarcrm.com> <4EA84718.8060900@sugarcrm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <4EA84718.8060900@sugarcrm.com> User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: [PHP-DEV] [VOTE] DateTime and Daylight Saving Time Transitions From: danielc@analysisandsolutions.com (Daniel Convissor) Hi Stas: > That's what I don't understand - so in the real code, what would be > the use case where I'd want to use ST/DST? I.e., if I know the exact > time, I could just use the timestamp or GMT time which doesn't have > transitions. Yeah, this stuff is very edge case. It is for use when one needs to have the transition information and create a time zone object that's in the repeated period during a backward transition. One case it's needed is in unit testing DateTime. Thanks, --Dan -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y data intensive web and database programming http://www.AnalysisAndSolutions.com/ 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409