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 using date format parsing from o.d.u.MultiFormatDateParser.
Author:
Andrea Bollini, Alan Orth
  • Constructor Details

    • OrderFormatDate

      public OrderFormatDate()
  • Method Details

    • 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 value
      language - the language to interpret in
      Returns:
      the sort string