all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Steve Allen <sla@ucolick.org>
To: Jay Belanger <jay.p.belanger@gmail.com>
Cc: 16663@debbugs.gnu.org
Subject: bug#16663: emacs/calc/date
Date: Thu, 6 Feb 2014 21:17:40 -0800	[thread overview]
Message-ID: <20140207051740.GA6628@ucolick.org> (raw)
In-Reply-To: <87eh3fh6cl.fsf@gmail.com>

On Thu 2014-02-06T22:52:42 -0600, Jay Belanger hath writ:
> For daylight savings time calculation, Calc only differentiates between
> before/after 2007.  I think Calendar might do the same.  I don't know
> about Calendar, but by default Calc bases its DST adjustments based on the time
> zone and whether or not daylight savings time is used at all.  (Each
> person could write their own DST function, but that would be a pain.)
> I don't know whether or not anything too much more sophisticated can be
> done, but I'll look into it after the next Emacs release.  (Perhaps
> something like a user configurable "DST begins this year" and "DST ends
> this year"; as far as I can tell, the beginning and end years depend on
> more than the time zone.)

So this math is not only limited to being valid on earth, but also
limited to US and Canada subsequent to the 1987 change of the Uniform
Time Act?  That was not clear given the dates being investigated.
I leave all timezone questions to the IANA tz community.

> > In this and many other cases of computed proleptic dates the only
> > reasonable interpretation of the time scale is Universal Time (UT, not
> > UTC).
>
> Could you be more precise?  From what I've read, UT isn't precisely
> defined and UTC is one possible interpretation of it.

For dates prior to atomic chronometers UT is defined more precisely
than the sources of time that were available to most users of civil
time.

For dates after atomic chronometers it becomes necessary to decide
whether the time scale relevant to the problem at hand wants to be
based on counting calendar days of earth rotationand subdividing them
(flavors of UT), or based on counting SI seconds and integrating them
(flavors of atomic time like TAI, GPS), or based on the compromise we
now know as UTC where the duration of the second (SI second of cesium
hyperfine transition) is unrelated to the duration of the day (a mean
solar day of earth rotation).

POSIX chose the first of those three yet called it UTC.

Piles of details about all these time scales are here
http://www.ucolick.org/~sla/leapsecs/timescales.html

--
Steve Allen                 <sla@ucolick.org>                WGS-84 (GPS)
UCO/Lick Observatory--ISB   Natural Sciences II, Room 165    Lat  +36.99855
1156 High Street            Voice: +1 831 459 3046           Lng -122.06015
Santa Cruz, CA 95064        http://www.ucolick.org/~sla/     Hgt +250 m





  reply	other threads:[~2014-02-07  5:17 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-06  3:28 bug#16663: emacs/calc/date Bart Nielsen
2014-02-06  4:03 ` Jay Belanger
2014-02-07  3:00 ` Steve Allen
2014-02-07  4:52   ` Jay Belanger
2014-02-07  5:17     ` Steve Allen [this message]
2014-02-07  5:28       ` Jay Belanger
2014-02-07  5:45         ` Steve Allen
2014-02-07  5:30 ` Jay Belanger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140207051740.GA6628@ucolick.org \
    --to=sla@ucolick.org \
    --cc=16663@debbugs.gnu.org \
    --cc=jay.p.belanger@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.