Compare commits

..

4 Commits

Author SHA1 Message Date
giberta1
a7e3ab4839 Fix minor spelling mistakes. 2002-05-22 10:18:23 +00:00
giberta1
5f536edd10 Replace MQSSave by TSLaunch in version print out ! 2002-05-22 10:09:57 +00:00
giberta1
445b7f5c9c Add 1.0.1 entry:
Fix Calendar.MONTH strange bug (!),
    Add version, date and author print out.
2002-05-22 10:07:15 +00:00
giberta1
ac455ff994 Fix Calendar.MONTH strange bug (!),
Add version, date and author print out.
2002-05-21 17:11:52 +00:00
3 changed files with 24 additions and 9 deletions

View File

@ -1,7 +1,7 @@
# $RCSfile: ReadMe.txt,v $
# $Revision: 1.2 $
# $Revision: 1.3 $
# $Name: $
# $Date: 2002/05/02 13:15:37 $
# $Date: 2002/05/22 10:18:23 $
# $Author: giberta1 $
@ -17,14 +17,14 @@ Compilation:
Installation:
-------------
- You only need the TSLauch.class and TSLaunch$Stream_Gobbler.class files.
- You only need the TSLaunch.class and TSLaunch$Stream_Gobbler.class files.
Notes:
------
- By default TimaStamp key is "TIME-STAMP".
- By default TimeStamp key is "TIME-STAMP".
- This software is under the GNU General Public License. See GNU-GPL.txt.

View File

@ -1,13 +1,22 @@
# $RCSfile: ReleaseNotes.txt,v $
# $Revision: 1.2 $
# $Revision: 1.3 $
# $Name: $
# $Date: 2002/05/02 13:15:37 $
# $Date: 2002/05/22 10:07:15 $
# $Author: giberta1 $
--------------------------------------------------------------------------------
TSLaunch V 1.0.1 - A. Gibert - 22/05/02
--------------------------------------------------------------------------------
Fix Calendar.MONTH strange bug (!),
Add version, date and author print out.
--------------------------------------------------------------------------------
TSLaunch V 1.0.0 - A. Gibert - 02/05/02
--------------------------------------------------------------------------------

View File

@ -1,7 +1,7 @@
// $RCSfile: TSLaunch.java,v $
// $Revision: 1.2 $
// $Revision: 1.4 $
// $Name: $
// $Date: 2002/04/26 16:45:37 $
// $Date: 2002/05/22 10:09:57 $
// $Author: giberta1 $
/*
@ -37,6 +37,10 @@ public class TSLaunch
{
private String TS_Key = "TIME-STAMP";
private String Sub_Args[];
private String TSLaunch_Revision = "$Revision: 1.4 $";
private String TSLaunch_Tag = "$Name: $";
private String TSLaunch_Date = "$Date: 2002/05/22 10:09:57 $";
private String TSLaunch_Author = "$Author: giberta1 $";
@ -222,7 +226,7 @@ public class TSLaunch
nf3.setMinimumIntegerDigits(3);
nf3.setMaximumIntegerDigits(3);
return( "" + now.get( Calendar.YEAR) + nf2.format( now.get( Calendar.MONTH)) + nf2.format( now.get( Calendar.DAY_OF_MONTH))
return( "" + now.get( Calendar.YEAR) + nf2.format( now.get( Calendar.MONTH) + 1) + nf2.format( now.get( Calendar.DAY_OF_MONTH))
+ nf2.format( now.get( Calendar.HOUR_OF_DAY)) + nf2.format( now.get( Calendar.MINUTE)) + nf2.format( now.get( Calendar.SECOND))
+ nf3.format( now.get( Calendar.MILLISECOND)));
}
@ -293,6 +297,8 @@ public class TSLaunch
try
{
System.out.println("TSLaunch: " + TSLaunch_Tag + " / " + TSLaunch_Date + " / " + TSLaunch_Author);
if( args.length < 2)
{
System.out.println( "Usage: TSLaunch [-k \"TimeStamp_Key\"] Command_to_Run [...Args...]TimeStamp_Key[...Args...]");