org.dspace.sort
Class OrderFormatDate
java.lang.Object
org.dspace.sort.OrderFormatDate
- All Implemented Interfaces:
- OrderFormatDelegate
public class OrderFormatDate
- extends Object
- implements OrderFormatDelegate
Standard date ordering delegate implementation. The only "special" need is
for treat with date with only "small" year < 4 digit
- Author:
- Andrea Bollini
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OrderFormatDate
public OrderFormatDate()
makeSortString
public String makeSortString(String value,
String language)
- Description copied from interface:
OrderFormatDelegate
- Prepare the appropriate sort string for the given value in the
given language. Language should be supplied with the ISO-6390-1
or ISO-639-2 standards. For example "en" or "eng".
- Specified by:
makeSortString in interface OrderFormatDelegate
- Parameters:
value - the string valuelanguage - the language to interpret in
Copyright © 2011 DuraSpace. All Rights Reserved.