From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7dadb26e573572d X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-12-06 07:10:05 PST Path: archiver1.google.com!news2.google.com!fu-berlin.de!skynet.be!freenix!enst.fr!melchior!cuivre.fr.eu.org!melchior.frmug.org!not-for-mail From: Marius Amado Alves Newsgroups: comp.lang.ada Subject: Re: ada calendar Date: Sat, 06 Dec 2003 15:08:53 +0000 Organization: Cuivre, Argent, Or Message-ID: References: NNTP-Posting-Host: lovelace.ada-france.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: melchior.cuivre.fr.eu.org 1070723340 98178 80.67.180.195 (6 Dec 2003 15:09:00 GMT) X-Complaints-To: usenet@melchior.cuivre.fr.eu.org NNTP-Posting-Date: Sat, 6 Dec 2003 15:09:00 +0000 (UTC) To: comp.lang.ada@ada-france.org Return-Path: In-Reply-To: X-Mailer: Ximian Evolution 1.4.5 X-OriginalArrivalTime: 06 Dec 2003 15:08:49.0601 (UTC) FILETIME=[DA614B10:01C3BC0A] X-Virus-Scanned: by amavisd-new-20030616-p5 (Debian) at ada-france.org X-BeenThere: comp.lang.ada@ada-france.org X-Mailman-Version: 2.1.3 Precedence: list List-Id: Gateway to the comp.lang.ada Usenet newsgroup List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: archiver1.google.com comp.lang.ada:3178 Date: 2003-12-06T15:08:53+00:00 On Sat, 2003-12-06 at 00:21, tmoran@acm.org wrote: > > T := T + 7 * 24 * 60 * 60.0 > "The implementation of type Duration shall allow representation of > time intervals (both positive and negative) up to at least 86400 > seconds (one day);" ARM 9.6(27) So "7 * 24 * 60 * 60.0" may or > may not work. Sure, but T by definition is something that spans a week or more, so a 'proper' type is expected here *by design*, no? (And I seem to remember there is a longer duration type somewhere in the standard. Some Ada.Real_Time package or some such.)