[Scheme-reports] Date/time package John Cowan (10 May 2012 16:56 UTC)
Re: Date/time package Arthur A. Gleckler (10 May 2012 17:09 UTC)
Re: [Scheme-reports] Date/time package Peter Bex (10 May 2012 18:54 UTC)
Re: [Scheme-reports] Date/time package John Cowan (10 May 2012 21:07 UTC)
Re: [Scheme-reports] Date/time package Peter Bex (10 May 2012 21:58 UTC)
Re: [Scheme-reports] Date/time package Alan Watson (10 May 2012 22:07 UTC)
Re: [Scheme-reports] Date/time package Noah Lavine (10 May 2012 22:41 UTC)
Re: [Scheme-reports] Date/time package John Cowan (11 May 2012 02:43 UTC)
Re: [Scheme-reports] Date/time package John Cowan (11 May 2012 02:16 UTC)
Re: [Scheme-reports] Date/time package Peter Bex (11 May 2012 10:05 UTC)
Re: [Scheme-reports] Date/time package Peter Bex (11 May 2012 10:13 UTC)
Re: [Scheme-reports] Date/time package John Cowan (11 May 2012 14:35 UTC)
Re: [Scheme-reports] Date/time package John J Foerch (10 May 2012 23:40 UTC)
Re: [Scheme-reports] Date/time package John Cowan (11 May 2012 03:01 UTC)
Re: [Scheme-reports] Date/time package John J Foerch (11 May 2012 04:37 UTC)
Re: [Scheme-reports] Date/time package John Cowan (11 May 2012 04:44 UTC)
Re: [Scheme-reports] Date/time package John J Foerch (11 May 2012 05:25 UTC)
Re: [Scheme-reports] Date/time package Daniel Villeneuve (11 May 2012 03:35 UTC)

Re: [Scheme-reports] Date/time package John Cowan 11 May 2012 02:15 UTC

Peter Bex scripsit:

> It's probably sufficient to specify that the base-chronologies are
> relative to *some* ("preferred"?) coordinated standard time, and
> perhaps note that this is defined as UTC for all the predefined ones.

Done.

> Non-earth-based chronologies look like an ideal way to test the
> generality of the proposal, but it's up to you to determine the
> scope of the proposal.  Joda time doesn't seem to deal with these(?)

Presumably the MTC chronology would have era (corresponding to a
particular Mars mission), sol-of-era, minute-of-sol, second-of-minute,
and instance fields.

> That sounds like a good way to do it if the goal is to be strict in
> how libraries can be extended.

Standards enumerate reserved names, leaving the rest to the implementation
or the user.  If the user imports specific libraries, all the names not
defined in those libraries by the standard are reserved to the user.

> Ah, that could be quite useful actually!  It can be derived from the
> text but it's probably good to state this explicitly.

Under "Date objects" it says:  "For example, with respect to the ISO,
Gregorian, or Julian chronologies, a date may represent a specific year,
a specific week of a specific year, or an instant in time precise to
a second."  If you think more is needed, please provide language.

--
John Cowan   cowan@ccil.org    http://ccil.org/~cowan
If a soldier is asked why he kills people who have done him no harm, or a
terrorist why he kills innocent people with his bombs, they can always
reply that war has been declared, and there are no innocent people in an
enemy country in wartime.  The answer is psychotic, but it is the answer
that humanity has given to every act of aggression in history.  --Northrop Frye

_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports