code: public VersionInfo toInfo() {
          return new VersionInfo(
                  parseDate(date),
                  display,
                  full,
                  branch,
                  build,
                  commit,
                  source,
                  sourceType
          );
      }
docs: Gets the representation of the version