Class Functions

java.lang.Object
org.opencastproject.oaipmh.server.Functions

public final class Functions extends Object
Collection of general purpose functions.
  • Field Details

    • asDate

      public static final org.opencastproject.util.data.Function<String,Date> asDate
      Converts a UTC string into a date. May throw a OaiPmhRepository.BadArgumentException.
  • Method Details

    • addDay

      public static org.opencastproject.util.data.Function<Date,Date> addDay(int days)