Search the web
Sign In
New User? Sign Up
frink
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Date/Time fixes   Message List  
Reply | Forward Message #216 of 257 |

I have fixed the calculation of Julian Day in Frink for dates B.C.,
including dates in the very distant past. Because Frink internally uses
Julian Day to represent dates and perform date/time math, this vastly
improves the handling of dates in the distant past. (Note: A Julian
day is a single number, counting the number of days elapsed since
January 1, 4713 BC at 12:00 (noon) UTC.)

In addition, the handling of the switch from the Julian calendar
(which is something very different from the Julian day) to the Gregorian
calendar was made more uniform and consistent. By default, this switch
happens between October 4, 1582 (Julian) which was followed immediately
by October 15, 1582 (Gregorian). Frink's algorithms use a Julian
Calendar date before this date and a Gregorian Calendar date after this
date. Frink also displays dates in the Julian calendar before this
date. Thus, the time #1582-10-04 23:59:59 UTC# (Julian) is followed
immediately by #1582-10-15 00:00:00 UTC# (Gregorian) Note that if a
date is specified between these dates, behavior will be undefined.

Note that these rules for switching between calendars, parsing, and
representing dates reflects what most/all Java Virtual Machines do by
default, so passing dates between Java programs and Frink does not
involve a change of representation.

There are more notes about the details here:
http://futureboy.us/frinkdocs/index.html#NotesOnDates

If you're doing calculations with dates before 1583 AD, it is very
highly recommended that you update!

As always, more details about the latest developments in Frink are
noted here:

http://futureboy.us/frinkdocs/whatsnew.html

--
Alan Eliasen | "Furious activity is no substitute
eliasen@... | for understanding."
http://futureboy.us/ | --H.H. Williams



Mon Aug 4, 2008 12:13 am

aeliasen
Offline Offline
Send Email Send Email

Forward
Message #216 of 257 |
Expand Messages Author Sort by Date

I have fixed the calculation of Julian Day in Frink for dates B.C., including dates in the very distant past. Because Frink internally uses Julian Day to...
Alan Eliasen
aeliasen
Offline Send Email
Aug 4, 2008
12:13 am

... From: Alan Eliasen <eliasen@...> ... But those intervening dates are not undefined. They all have the same value. All of the dates in that...
first.i.last@...
Send Email
Aug 4, 2008
3:43 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help