code: public Timestamp parse(String source, ParsePosition pos) {
          if (nanoPattern)
              throw new UnsupportedOperationException("Not supporting parsing of nanosecond field.");
          return Timestamp.of(dateFormat.parse(source, pos));
      }
docs: Parses the source at the given position.
  
  @param source text to parse
  @param pos the position
  @return the parsed timestamp