Changeset 2196
- Timestamp:
- 2001-03-20T08:56:20+12:00 (23 years ago)
- Location:
- trunk/java-client/org/nzdl/gsdl
- Files:
-
- 1 added
- 3 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/java-client/org/nzdl/gsdl/SimpleClient.java
r2179 r2196 173 173 System.out.println("\t" + "Public: " + collectionInfo.isPublic()); 174 174 System.out.println("\t" + "Beta: " + collectionInfo.isBeta()); 175 intbuildDate = collectionInfo.getBuildDate();175 long buildDate = collectionInfo.getBuildDate(); 176 176 //process buildDate into something sensible 177 177 System.out.println("\t" + "Build Date: " + buildDate); -
trunk/java-client/org/nzdl/gsdl/SimpleGraphicalClient/CollectionInfoDialog.java
r2195 r2196 75 75 contentPanel.add(new JLabel((collectionInfo.getNumOfBytes() / 1024) + "K")); 76 76 contentPanel.add(new JLabel("Last built on:")); 77 Date buildDate = new Date( collectionInfo.getBuildDate() );77 Date buildDate = new Date( collectionInfo.getBuildDate()*1000); 78 78 contentPanel.add(new JLabel(DateFormat.getDateTimeInstance().format(buildDate))); 79 79 Date now = new Date(); 80 80 Date now2 = new Date(now.getTime()); 81 System.err.println("Build date =\t " + collectionInfo.getBuildDate() + "\nNow is = \t" + now.getTime());81 System.err.println("Build date =\t " + collectionInfo.getBuildDate()*1000 + "\nNow is = \t" + now.getTime()); 82 82 contentPanel.add(new JLabel("Today is:")); 83 83 contentPanel.add( new JLabel(DateFormat.getDateTimeInstance().format(now2))); -
trunk/java-client/org/nzdl/gsdl/SimpleGraphicalClient/Makefile
r2188 r2196 7 7 SearchPanel.class\ 8 8 SimpleGraphicalClient.class\ 9 CollectionInfoDialog.class\ 9 10 10 11 all : $(CLASSES) -
trunk/java-client/org/nzdl/gsdl/service/NzdlCollectionInfo.java
r2186 r2196 128 128 * @return Integer representation of date. 129 129 */ 130 public intgetBuildDate() {130 public long getBuildDate() { 131 131 return m_Info.buildDate; 132 132 }
Note:
See TracChangeset
for help on using the changeset viewer.