Package org.dspace.sort
Class OrderFormatDate
java.lang.Object
org.dspace.sort.OrderFormatDate
- All Implemented Interfaces:
OrderFormatDelegate
Standard date ordering delegate implementation using date format
parsing from o.d.u.MultiFormatDateParser.
- Author:
- Andrea Bollini, Alan Orth
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmakeSortString(String value, String language) Prepare the appropriate sort string for the given value in the given language.
-
Constructor Details
-
OrderFormatDate
public OrderFormatDate()
-
-
Method Details
-
makeSortString
Description copied from interface:OrderFormatDelegatePrepare 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:
makeSortStringin interfaceOrderFormatDelegate- Parameters:
value- the string valuelanguage- the language to interpret in- Returns:
- the sort string
-