summaryrefslogtreecommitdiff
path: root/gcc/ada/g-catiio.ads
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/g-catiio.ads')
-rw-r--r--gcc/ada/g-catiio.ads14
1 files changed, 10 insertions, 4 deletions
diff --git a/gcc/ada/g-catiio.ads b/gcc/ada/g-catiio.ads
index 9f3188cdf1b..abaa5f34e8b 100644
--- a/gcc/ada/g-catiio.ads
+++ b/gcc/ada/g-catiio.ads
@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
--- Copyright (C) 1999-2001 Ada Core Technologies, Inc. --
+-- Copyright (C) 1999-2003 Ada Core Technologies, Inc. --
-- --
-- This specification is derived from the Ada Reference Manual for use with --
-- GNAT. The copyright notice above, and the license provisions that follow --
@@ -41,9 +41,9 @@
package GNAT.Calendar.Time_IO is
Picture_Error : exception;
+ -- Exception raised for incorrect picture
type Picture_String is new String;
-
-- This is a string to describe date and time output format. The string is
-- a set of standard character and special tag that are replaced by the
-- corresponding values. It follows the GNU Date specification. Here are
@@ -95,12 +95,18 @@ package GNAT.Calendar.Time_IO is
--
-- - (hyphen) do not pad the field
-- _ (underscore) pad the field with spaces
+ --
+ -- Here are some GNAT extensions to the GNU Date specification:
+ --
+ -- %i milliseconds (3 digits)
+ -- %e microseconds (6 digits)
+ -- %o nanoseconds (9 digits)
- ISO_Date : constant Picture_String;
+ ISO_Date : constant Picture_String;
-- This format follow the ISO 8601 standard. The format is "YYYY-MM-DD",
-- four digits year, month and day number separated by minus.
- US_Date : constant Picture_String;
+ US_Date : constant Picture_String;
-- This format is the common US date format: "MM/DD/YY",
-- month and day number, two digits year separated by slashes.