Author:Peter Gummer

Date:2010-07-17T13:14:31.000000Z


git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@640 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
halw
2010-07-26 15:45:29 +00:00
parent f21363c217
commit 44a8d1bb10
2 changed files with 7 additions and 7 deletions

View File

@@ -24,7 +24,7 @@ The following table lists format conversion codes.
| day - numeric (padded with '0' to 2 figures)
|-
| ddd
| day - text (3 letters e.g "Mon", "Tue")
| day - text (3 letters e.g "MON", "TUE")
|-
| yyyy
| year - numeric (4 figures)
@@ -39,7 +39,7 @@ The following table lists format conversion codes.
| month - numeric (padded with '0' to 2 figures)
|-
| mmm
| month - text (3 letters e.g "Dec", "Jan")
| month - text (3 letters e.g "DEC", "JAN")
|-
| hh
| hour - numeric (24 hour clock scale by default)
@@ -66,7 +66,7 @@ The following table lists format conversion codes.
| fractional seconds - numeric (precise to <n> figures)
|-
| ':', '/', '-' and ','
| separators e.g. "03/Aug/97"
| separators e.g. "03/AUG/97"
|}
These are some examples of output with their associated format code:
{|
@@ -78,10 +78,10 @@ These are some examples of output with their associated format code:
| 97/8/18
|-
| mmm-dd-yy
| Aug-18-97
| AUG-18-97
|-
| dd,mm,yyyy
| 18,Aug,1997
| 18,8,1997
|-
| hh-mi-ss
| 13-06-32

View File

@@ -26,11 +26,11 @@ In order to run properly you need to read [[Eiffel2Java|the library requirement]
===Compiling the example===
Since the example is using the `test.java' class, the first step is to compile the java class using the `javac' command line utility from the JDK. Once it is done, copy the `test.class' either in $ISE_EIFFEL\examples\Eiffel2Java\EIFGENs\classic\W_code or in $ISE_EIFFEL\examples\Eiffel2Java\EIFGENs\classic\F_code depending on your compilation mode (freezing vs. finalizing).
Since the example is using the `test.java' class, the first step is to compile the java class using the `javac' command line utility from the JDK. Once it is done, copy the `test.class' either into $ISE_EIFFEL\examples\Eiffel2Java\EIFGENs\classic\W_code or else into $ISE_EIFFEL\examples\Eiffel2Java\EIFGENs\classic\F_code, depending on your compilation mode (freezing vs. finalizing).
===Running the example===
One the example is compiled, you can run it and here is the expected output:
Once the example is compiled, you can run it and here is the expected output:
<code>
$ sample
Creating instance of class `test'