comp.lang.ada
 help / color / mirror / Atom feed
From: Christoph Grein <christoph.grein@eurocopter.de>
To: comp.lang.ada@ada.eu.org
Subject: Re: calander package - Proposal for dates
Date: Mon, 19 Mar 2001 07:50:02 +0100 (MET)
Date: 2001-03-19T07:50:02+01:00	[thread overview]
Message-ID: <mailman.984984915.23816.comp.lang.ada@ada.eu.org> (raw)

Robert A Duff <bobduff@world.std.com> wrote:
> Christoph Grein <christoph.grein@eurocopter.de> writes:
> 
> >   Standard_Names: Month_Names := (To_Unbounded_String ("January"),  
> >                                   To_Unbounded_String ("February"),  
> >                                   To_Unbounded_String ("March"),  
> >                                   To_Unbounded_String ("April"),  
> >...
> 
> Why not use an enumerated type, and use 'Image to map to strings?
> (You have to write a Capitalize function if you don't like shouting.)
> 
> - Bob

I thought it was clear:

  -- Text formats use names for months. To allow for language specific
  -- names, they are defined with a (non-constant) array of (unbounded)
  -- strings.

How else can you provide for French, German, Italian ... names?

Christoph





             reply	other threads:[~2001-03-19  6:50 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-19  6:50 Christoph Grein [this message]
     [not found] <000201c0ae3b$b27cca00$039697d4@d1>
2001-03-16 23:46 ` calander package - Proposal for dates Robert C. Leif, Ph.D.
     [not found] <200103160849.JAA00680@bulgaria.otn.eurocopter.de>
2001-03-16  9:31 ` Hans-Olof Danielsson
2001-03-17 20:18   ` Georg Bauhaus
2001-03-24  6:27   ` David Thompson
  -- strict thread matches above, loose matches on Subject: below --
2001-03-16  8:49 Christoph Grein
2001-03-16 17:21 ` Robert A Duff
2001-03-17  2:55 ` Jeffrey Carter
2001-03-17 10:16   ` Pascal Obry
2001-03-17 18:11     ` Ehud Lamm
2001-03-19 14:26       ` Ted Dennison
2001-03-19 17:30         ` Ehud Lamm
2001-03-20  6:30       ` Wilhelm Spickermann
2001-03-20 11:45         ` Martin Dowie
2001-03-20 13:48           ` Wilhelm Spickermann
2001-03-21 13:37             ` John English
2001-03-20 14:15           ` Marin David Condic
2001-03-20 15:25           ` Ted Dennison
2001-03-19 22:03     ` Jeffrey Carter
2001-03-20 18:34       ` Pascal Obry
2001-03-20 23:01         ` Jeffrey Carter
2001-03-21  8:17           ` Pascal Obry
2001-03-19 16:07   ` Marin David Condic
2001-03-19 17:24     ` Ted Dennison
2001-03-19 17:34       ` Ehud Lamm
replies disabled

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