Class InstantParser

java.lang.Object
org.fcrepo.search.impl.InstantParser

public class InstantParser extends Object
A utility class for parsing a variety of different date/time formats into an Instant.
Author:
dbernstein
  • Method Details

    • parse

      public static Instant parse(String dateString)
      Parse a datestring into an instant. If timezone or time information is missing, UTC is assumed.
      Parameters:
      dateString - The date string
      Returns:
      an instant