/** * Get the date/time the build happened. * @return the date/time of the build. */ public static String getDate() { return OUR_FULL_VERSION.getDate(); }
private static Map<String, String> toJsonStruct(IVersionInfo info) { Map<String, String> ret = new HashMap<>(); ret.put("version", info.getVersion()); ret.put("revision", info.getRevision()); ret.put("branch", info.getBranch()); ret.put("date", info.getDate()); ret.put("user", info.getUser()); ret.put("url", info.getUrl()); ret.put("srcChecksum", info.getSrcChecksum()); return ret; }