<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3429" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2>I think in most 
case when&nbsp;<SPAN class=312474518-11122008>a </SPAN>caller sets the time to 
2:10am Mar 8, 2009 in America/Los_Angeles, he does not realize it's the "missing 
hour".&nbsp; If he wants 1:10am&nbsp; (which is a valid time), he would use 
that.&nbsp; So moving forward to 3:10am seems to make sense.</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2>There are also 
other code such as normalize_overflow() where we make&nbsp;<SPAN 
class=312474518-11122008>adjustments to&nbsp;</SPAN>what caller 
wants.</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV><SPAN class=312474518-11122008></SPAN><FONT face=Arial><FONT 
color=#0000ff><FONT size=2>J<SPAN 
class=312474518-11122008>ennifer</SPAN></FONT></FONT></FONT><BR></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Scott Atwood 
[mailto:scott.roy.atwood@gmail.com] <BR><B>Sent:</B> Wednesday, December 10, 
2008 11:26 AM<BR><B>To:</B> tz@elsie.nci.nih.gov; Jennifer Wang 
(jennifwa)<BR><B>Subject:</B> Re: time during standard to DST 
transition<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=gmail_quote>On Wed, Dec 10, 2008 at 10:43 AM, Jennifer Wang 
(jennifwa) <SPAN dir=ltr>&lt;<A 
href="mailto:jennifwa@cisco.com">jennifwa@cisco.com</A>&gt;</SPAN> wrote:<BR>
<BLOCKQUOTE class=gmail_quote 
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
  <DIV>
  <DIV><FONT face=Arial size=2>
  <DIV><FONT face=Arial size=2><SPAN>Hello,</SPAN></FONT></DIV>
  <DIV><FONT face=Arial color=#0000ff size=2><SPAN></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>We ran into a problem when setting time to the 
  "missing hour" during transition from standard time to DST time.&nbsp; For 
  example, setting time to Mar 8, 2009 at 2:10am using America/Los_Angeles time 
  zone results in error.&nbsp; </FONT></DIV>
  <DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>Should&nbsp;<SPAN>mktime()</SPAN> skip forward in 
  this case and set the time to Mar 8, 2009 
  3:10am?</FONT></DIV></FONT></DIV></DIV></BLOCKQUOTE>
<DIV><FONT face=Arial color=#0000ff size=2></FONT><FONT face=Arial color=#0000ff 
size=2></FONT><BR></DIV>
<DIV>To me, it seems to make sense to return an error. &nbsp;The time 2:10am Mar 
8, 2009 in America/Los_Angeles really is an ambiguous time. &nbsp;You can't 
determine the intension of the caller. &nbsp;She could either be counting 
forward one hour from 1:10am, or she could be counting back one hour from 
3:10am, which result in different answers. &nbsp;Likewise, calling mktime() with 
2:10am, Nov 2, 2008 in America/Los_Angeles and a negative value of tm_isdst is 
similarly ambiguous.</DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT><FONT face=Arial color=#0000ff 
size=2></FONT><BR></DIV>
<DIV>I think both of these cases should return an error.</DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT><BR></DIV>
<DIV>-Scott</DIV></DIV><BR>-- <BR>Scott Atwood<BR><BR>Cycle tracks will abound 
in Utopia. &nbsp;~H.G. Wells<BR><BR><BR></BODY></HTML>