Interface DateTimeParser

    • Method Detail

      • parse

        int parse​(DateTimeParseContext context,
                  java.lang.String parseText,
                  int position)
        Parses from the supplied text and position into the calendrical.
        Parameters:
        context - the context to use and parse into, not null
        parseText - the input text to parse, not null
        position - the position to start parsing at, from 0 to the text length
        Returns:
        the new parse position, where negative means an error with the error position encoded using the complement ~ operator
        Throws:
        java.lang.NullPointerException - if the context or text is null
        java.lang.IndexOutOfBoundsException - if the position is invalid