14
14
import java .awt .*;
15
15
import java .io .File ;
16
16
import java .io .InputStream ;
17
- import java .lang .reflect .Method ;
18
17
import java .net .MalformedURLException ;
19
18
import java .net .URL ;
20
19
import java .net .URLClassLoader ;
21
20
import java .text .DateFormat ;
21
+ import java .text .SimpleDateFormat ;
22
22
import java .util .ArrayList ;
23
23
import java .util .Date ;
24
24
import java .util .List ;
@@ -213,9 +213,11 @@ public static Vector<Object> getDownDataRow( int order, String title, String[] v
213
213
public static Vector <Object > getBookmarkDataRow ( int order , String title , String url )
214
214
{
215
215
Date date = new Date (); // 取得目前時間
216
- DateFormat shortFormat = DateFormat .getDateTimeInstance (
217
- DateFormat .SHORT , DateFormat .SHORT );
216
+ // DateFormat shortFormat = DateFormat.getDateTimeInstance(
217
+ // DateFormat.SHORT, DateFormat.SHORT );
218
+ DateFormat shortFormat = new SimpleDateFormat ("yyyy-MM-dd HH:mm:ss" );
218
219
220
+
219
221
Vector <Object > row = new Vector <Object >();
220
222
221
223
row .add ( new Integer ( order ) );
@@ -230,9 +232,10 @@ public static Vector<Object> getBookmarkDataRow( int order, String title, String
230
232
public static Vector <Object > getRecordDataRow ( int order , String title , String url )
231
233
{
232
234
Date date = new Date (); // 取得目前時間
233
- DateFormat shortFormat = DateFormat .getDateTimeInstance (
234
- DateFormat .SHORT , DateFormat .SHORT );
235
-
235
+ //DateFormat shortFormat = DateFormat.getDateTimeInstance(
236
+ // DateFormat.SHORT, DateFormat.SHORT );
237
+ DateFormat shortFormat = new SimpleDateFormat ("yyyy-MM-dd HH:mm:ss" );
238
+
236
239
Vector <Object > row = new Vector <Object >();
237
240
238
241
row .add ( new Integer ( order ) );
0 commit comments