void (XmlElement element) { myBuildNumber = getAttributeValue(element, "number"); myApiVersion = getAttributeValue(element, "apiVersion"); String dateString = element.getAttributeValue("date"); if (dateString != null && !dateString.equals("__BUILD_DATE__")) { buildTime = parseDate(dateString); } String majorReleaseDateString = element.getAttributeValue("majorReleaseDate"); if (majorReleaseDateString != null) { majorReleaseBuildDate = parseDate(majorReleaseDateString); } }