comp.lang.ada
 help / color / mirror / Atom feed
From: Robert A Duff <bobduff@world.std.com>
Subject: Re: calander package
Date: Fri, 16 Mar 2001 16:54:39 GMT
Date: 2001-03-16T16:54:39+00:00	[thread overview]
Message-ID: <wccpufhr6wg.fsf@world.std.com> (raw)
In-Reply-To: 3AB00B6C.35FF41BC@acm.org

Jeffrey Carter <jrcarter@acm.org> writes:

> Vincent Marciante wrote:
> > 
> > The original Booch.Calendar_Utilities could be considered.
> > ...
> >     type Date_Format is (Full,            -- FEBRUARY 27, 1955
> >                          Month_Day_Year); -- 02/27/55
> 
> Neither of these formats is acceptable for my use.

I kind of like the method used in the Scribe text formatting language.
The user can define whatever format they like.  The method is to write
a certain example date in the format you like, something like:

    @DefineDateFormat{Wednesday -- Feb. 23, 55}

The system determines the general rule from that example,
and formats all dates accordingly.

I believe the example date is Brian Reid's birthdate.
(Brian Reid designed Scribe as his PhD thesis.)

- Bob



  parent reply	other threads:[~2001-03-16 16:54 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-13  0:04 calander package arcele
2001-03-13 14:24 ` Marin David Condic
2001-03-14 11:52   ` Mario Amado Alves
2001-03-13 15:52 ` Ted Dennison
2001-03-13 16:45   ` Marin David Condic
2001-03-13 18:52     ` Ted Dennison
2001-03-13 19:50       ` Marin David Condic
2001-03-13 21:47         ` Randy Brukardt
2001-03-13 22:32           ` Marin David Condic
2001-03-14  2:04           ` Vincent Marciante
2001-03-14 14:47             ` Marin David Condic
2001-03-15  0:23             ` Jeffrey Carter
2001-03-15 17:45               ` Marin David Condic
2001-03-16 16:54               ` Robert A Duff [this message]
2001-03-14  0:51         ` tmoran
2001-03-14 15:21           ` Marin David Condic
2001-03-15  1:39             ` Randy Brukardt
2001-03-15 17:55               ` Marin David Condic
2001-03-16 14:50                 ` Planned increment for package Datetime Mario Amado Alves
2001-03-14  2:19       ` calander package Jeffrey Carter
2001-03-14  8:33 ` Pascal Obry
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox