Class StorageUtils

java.lang.Object
org.exoplatform.social.core.storage.impl.StorageUtils

public class StorageUtils extends Object
  • Field Details

  • Constructor Details

    • StorageUtils

      public StorageUtils()
  • Method Details

    • subList

      public static <T> List<T> subList(List<T> list, int startIndex, int toIndex)
      Gets sub list from the provided list with start and end index.
      Parameters:
      list - the identity list
      startIndex - start index to get
      toIndex - end index to get
      Returns:
      sub list of the provided list
    • toRFC3339Date

      public static String toRFC3339Date(Date dateTime)
    • parseRFC3339Date

      public static Date parseRFC3339Date(String dateString)