[Mathlib-commitlog] SF.net SVN: mathlib:[863] JMathLib/trunk/src/jmathlib/toolbox/jmathlib/ system
Status: Beta
Brought to you by:
st_mueller
|
From: <st_...@us...> - 2009-02-21 18:13:53
|
Revision: 863
http://mathlib.svn.sourceforge.net/mathlib/?rev=863&view=rev
Author: st_mueller
Date: 2009-02-21 18:13:48 +0000 (Sat, 21 Feb 2009)
Log Message:
-----------
Modified Paths:
--------------
JMathLib/trunk/src/jmathlib/toolbox/jmathlib/system/createfunctionslist.java
Modified: JMathLib/trunk/src/jmathlib/toolbox/jmathlib/system/createfunctionslist.java
===================================================================
--- JMathLib/trunk/src/jmathlib/toolbox/jmathlib/system/createfunctionslist.java 2009-02-21 17:55:12 UTC (rev 862)
+++ JMathLib/trunk/src/jmathlib/toolbox/jmathlib/system/createfunctionslist.java 2009-02-21 18:13:48 UTC (rev 863)
@@ -15,6 +15,8 @@
import jmathlib.core.functions.FunctionLoader;
import jmathlib.core.functions.FileFunctionLoader;
import jmathlib.core.functions.ExternalFunction;
+
+import java.util.Calendar;
import java.util.Vector;
import java.io.*;
@@ -72,7 +74,19 @@
line = "# This is a generated file. DO NOT EDIT!";
outWriter.write(line, 0, line.length());
outWriter.newLine();
-
+
+ // add date and time to the webFunctionsList
+ Calendar cal = Calendar.getInstance();
+ String date = Integer.toString(cal.get(Calendar.YEAR)) + "/"
+ + Integer.toString(cal.get(Calendar.MONTH)+1) + "/"
+ + Integer.toString(cal.get(Calendar.DAY_OF_MONTH))+ " "
+ + Integer.toString(cal.get(Calendar.HOUR_OF_DAY)) + ":"
+ + Integer.toString(cal.get(Calendar.MINUTE)) + ":"
+ + Integer.toString(cal.get(Calendar.SECOND));
+ line = "# created on "+ date;
+ outWriter.write(line, 0, line.length());
+ outWriter.newLine();
+
// search through all serach directories
for(int n = 0; n < size; n++)
{
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|