Class DateParser

java.lang.Object
eu.europa.esig.dss.jaxb.parsers.DateParser

public final class DateParser extends Object
Parses a date
  • Method Details

    • parse

      public static Date parse(String v)
      Parses the date
      Parameters:
      v - String date in the format "yyyy-MM-dd'T'HH:mm:ss'Z'"
      Returns:
      Date, null if not able to parse
    • print

      public static String print(Date v)
      Prints the date according to the format "yyyy-MM-dd'T'HH:mm:ss'Z'"
      Parameters:
      v - Date
      Returns:
      String