> From: Glenn Morris <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED] (Kim F. Storm),  [EMAIL PROTECTED],  
> [email protected],  [EMAIL PROTECTED]
> Date: Thu, 09 Nov 2006 03:46:51 -0500
> 
> Am I totally missing the point here? The question to be answered is:
> what day of the year does Daylight Saving Time start/end? This is so
> it can be printed as a diary/holiday entry, eg so people know when to
> change their clocks. How do I do find that date in your method?

In C, you pass probe time_t values to the function localtime, until
you find the value for which the tm_isdst flag in the struct tm
returned by localtime changes from 0 to 1 or vice versa.

In Lisp, we will need some Lisp binding to localtime or its sibling
functions, to do the same.  Perhaps the iterative solution can be
coded in C, with only the result exposed to Lisp.

Does this make sense?  Apologies if I'm missing something.


_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to