Changeset 28878
- Timestamp:
- 2014-03-06T11:38:29+13:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/src/java/org/greenstone/gsdl3/collection/Collection.java
r28859 r28878 173 173 } 174 174 175 // Not used anymore by the OAIReceptionist to find out the earliest datestamp 176 // amongst all oai collections in the repository. May be useful generally. 175 // Used by OAI Receptionist to determine whether to expire a resumption token - if a token was issued before a collection is rebuilt, then the token must be expired. 177 176 public long getLastmodified() 178 177 { … … 180 179 } 181 180 182 // used by the OAIReceptionist to find out the earliest datestamp amongst all oai collections in the repository181 // used by the OAIReceptionist to find out the earliest datestamp amongst all oai collections in the repository 183 182 public long getEarliestDatestamp() 184 183 { … … 428 427 if (!earliestDatestampStr.equals("")) 429 428 { 430 earliestDatestamp = Long.parseLong(earliestDatestampStr); 429 earliestDatestamp = Long.parseLong(earliestDatestampStr) * 1000; // stored in seconds, convert to milliseconds 430 431 431 } 432 432 break; // found a metadata element with name=earliestDatestamp in buildconfig
Note:
See TracChangeset
for help on using the changeset viewer.